diff --git a/scripts/dependencies.sh b/scripts/dependencies.sh index 59fba0ebd64..e05f2c0fc71 100644 --- a/scripts/dependencies.sh +++ b/scripts/dependencies.sh @@ -1,16 +1,15 @@ #!/usr/bin/env bash -# The perpose 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 +# The purpose of this script is to import various eternal hosts files into lists +# 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 # Check if we have root right to install the apps via apt -if [ `whoami` != "root" ] - then +if [ "$(whoami)" != "root" ]; then echo "You need to be root to do this!" exit 1 fi