Merge pull request #1519 from Aeyoun/patch-1

Test dnf before yum
This commit is contained in:
Peter Eckersley
2015-12-01 18:15:26 -08:00
+5 -4
View File
@@ -4,12 +4,13 @@
# - Fedora 22, 23 (x64)
# - Centos 7 (x64: onD igitalOcean droplet)
if type yum 2>/dev/null
then
tool=yum
elif type dnf 2>/dev/null
if type dnf 2>/dev/null
then
tool=dnf
elif type yum 2>/dev/null
then
tool=yum
else
echo "Neither yum nor dnf found. Aborting bootstrap!"
exit 1