small name fix

This commit is contained in:
Grzegorz Surmann 2024-07-29 00:33:39 +00:00
parent 6df8139afe
commit df0ed5be7b

View File

@ -10,19 +10,19 @@ if [ -s "/etc/os-release" ]; then
. /etc/os-release
if [ ${ID} != "debian" -a ${ID} != "ubuntu" ]; then
echo "*** NOT DEBIAN OR UBUNTU ***"
echo "*** WILL NOT UPDATE ********"
echo "*** WILL NOT INSTALL *******"
exit 1
fi
else
echo "*** UNKNOWN DISTRIBUTION ***"
echo "*** WILL NOT UPDATE ********"
echo "*** WILL NOT INSTALL *******"
exit 1
fi
MYUSER=$(whoami)
if [ ${MYUSER} != "root" ]; then
echo "*** USER IS NOT ROOT ***"
echo "*** WILL NOT UPDATE ****"
echo "*** WILL NOT INSTALL ***"
exit 1
fi