X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/08ea1b60270d697fff5992eb9b665cec35493b6d..3f0543eabf72014ed44dfbf06e1580a3853bcee8:/provision?ds=inline diff --git a/provision b/provision index baac03b..6574db9 100755 --- a/provision +++ b/provision @@ -7,16 +7,21 @@ else command_name="brew" install_command="install" else - if command -v apt &> /dev/null; then - command_name="apt" + if command -v dnf &> /dev/null; then + command_name="dnf" install_command="install" else if command -v pacman &> /dev/null; then command_name="pacman" install_command="-Sy" else - echo "Error: No valid package manager. Make sure brew or apt are available." - exit 1 + if command -v pacman &> /dev/null; then + command_name="apt" + install_command="install" + else + echo "Error: No valid package manager. Make sure brew or apt are available." + exit 1 + fi fi fi fi