updated essentials script with verison check
This commit is contained in:
8
debian/debian-essentials.sh
vendored
8
debian/debian-essentials.sh
vendored
@@ -6,6 +6,14 @@ if [ "$EUID" -ne 0 ]
|
||||
exit
|
||||
fi
|
||||
|
||||
# check debian version
|
||||
read -d . VERSION < /etc/debian_version
|
||||
if [ $VERSION -eq 13]
|
||||
then
|
||||
echo "Wrong Version"
|
||||
exit
|
||||
fi
|
||||
|
||||
# autoreply config update dialog with default answer no
|
||||
if [[ ! -f /etc/apt/apt.conf.d/local ]]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user