From c7b9023d94027140ce9a55b9889399a7dfa38ac9 Mon Sep 17 00:00:00 2001 From: Spirillen Date: Tue, 9 May 2023 11:03:48 +0200 Subject: [PATCH] Typos --- scripts/dependencies.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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