diff --git a/install.sh b/install.sh index f595e96f58f681b8a82f10f3632db402dc87199d..0759c146160324d7bfb38cd734c44c809214e87b 100755 --- a/install.sh +++ b/install.sh @@ -7,7 +7,11 @@ # # -cd utils/ -./pull_subtrees.sh -./init_symlinks.sh -./copy_hooks.sh +if [ `whoami` == "root" ]; then + echo "Please, do not run this script as sudo" +else + cd utils/ + ./pull_subtrees.sh + ./init_symlinks.sh + ./copy_hooks.sh +fi