exit if no package manager found
This commit is contained in:
parent
a67a15bbe0
commit
6191a197ee
1
user.sh
1
user.sh
|
@ -13,6 +13,7 @@ if command -v apt-get ; then
|
||||||
apt-get update && apt-get -y upgrade && apt-get -y install sudo
|
apt-get update && apt-get -y upgrade && apt-get -y install sudo
|
||||||
else
|
else
|
||||||
echo "Error - no package installer found."
|
echo "Error - no package installer found."
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO ensure group sudo is allowed sudo
|
# TODO ensure group sudo is allowed sudo
|
||||||
|
|
Reference in New Issue