Skip to content

Commit

Permalink
fix: equality dnf5 check again
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman committed Feb 25, 2025
1 parent 51968ea commit e1643bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $DNF install --setopt=install_weak_deps=False -y \
xorriso

# github cli
if [ "dnf5" = "${DNF}" ]; then
if [[ "dnf5" == "${DNF}" ]]; then
$DNF config-manager addrepo --from-repofile=https://cli.github.com/packages/rpm/gh-cli.repo
else
$DNF config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
Expand Down

0 comments on commit e1643bf

Please sign in to comment.