diff --git a/install.sh b/install.sh index 72b9237..0d185a9 100644 --- a/install.sh +++ b/install.sh @@ -1,8 +1,8 @@ #!/bin/bash -#if [[ $EUID -ne 0 ]]; then -# echo "This script must be run as root" -# exit 1 -#fi +if [[ $EUID -ne 0 ]]; then + echo "This script must be run as root" + exit 1 +fi CURRENTDIR=`pwd` ENVDIR=$CURRENTDIR"/env" WORKINGDIR=$CURRENTDIR"/paste"