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
|
. /etc/os-release
|
||||||
if [ ${ID} != "debian" -a ${ID} != "ubuntu" ]; then
|
if [ ${ID} != "debian" -a ${ID} != "ubuntu" ]; then
|
||||||
echo "*** NOT DEBIAN OR UBUNTU ***"
|
echo "*** NOT DEBIAN OR UBUNTU ***"
|
||||||
echo "*** WILL NOT UPDATE ********"
|
echo "*** WILL NOT INSTALL *******"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "*** UNKNOWN DISTRIBUTION ***"
|
echo "*** UNKNOWN DISTRIBUTION ***"
|
||||||
echo "*** WILL NOT UPDATE ********"
|
echo "*** WILL NOT INSTALL *******"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MYUSER=$(whoami)
|
MYUSER=$(whoami)
|
||||||
if [ ${MYUSER} != "root" ]; then
|
if [ ${MYUSER} != "root" ]; then
|
||||||
echo "*** USER IS NOT ROOT ***"
|
echo "*** USER IS NOT ROOT ***"
|
||||||
echo "*** WILL NOT UPDATE ****"
|
echo "*** WILL NOT INSTALL ***"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user