updated essentials script with verison check

This commit is contained in:
2025-10-08 21:59:59 +00:00
parent 74fe614ea5
commit 536298dd70

View File

@@ -6,6 +6,14 @@ if [ "$EUID" -ne 0 ]
exit exit
fi 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 # autoreply config update dialog with default answer no
if [[ ! -f /etc/apt/apt.conf.d/local ]] if [[ ! -f /etc/apt/apt.conf.d/local ]]
then then