small name fix
This commit is contained in:
parent
6df8139afe
commit
df0ed5be7b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user