Typos
This commit is contained in:
parent
2007639912
commit
c7b9023d94
|
@ -1,16 +1,15 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# The perpose of this script is to import various eternal hosts files into lists
|
# The purpose of this script is to import various eternal hosts files into lists
|
||||||
# that contail only domain.tld for easier working with the lists to our RPZ files
|
# that contain only domain.tld for easier working with the lists to our RPZ files
|
||||||
|
|
||||||
# Exit on any erros
|
# Exit on any errors
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Check if we have root right to install the apps via apt
|
# Check if we have root right to install the apps via apt
|
||||||
|
|
||||||
if [ `whoami` != "root" ]
|
if [ "$(whoami)" != "root" ]; then
|
||||||
then
|
|
||||||
echo "You need to be root to do this!"
|
echo "You need to be root to do this!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue