Skip to content

Commit

Permalink
manifests: dnf5 is now default in rawhide; stop symlinking dnf
Browse files Browse the repository at this point in the history
The postprocess bomb here went off this morning, which means we can
simplify this by a lot!
  • Loading branch information
jlebon committed May 10, 2024
1 parent 097086b commit a580cc1
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions manifests/include-dnf.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,2 @@
packages:
- dnf5

# until dnf5 becomes the default, manually symlink dnf to it
postprocess:
- |
#!/usr/bin/bash
set -euo pipefail
if command -v dnf; then
echo 'dnf5 is now the default, remove this postprocess script!' >&2
exit 1
fi
ln -s dnf5 /usr/bin/dnf
- dnf

0 comments on commit a580cc1

Please sign in to comment.