From 582a0098b598f33ba692d52d106a1b74e77a3ac5 Mon Sep 17 00:00:00 2001 From: jash Date: Sun, 4 Nov 2018 17:53:02 +0100 Subject: [PATCH] damnit! --- dist/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/setup.sh b/dist/setup.sh index 9b67f32..2ed1991 100755 --- a/dist/setup.sh +++ b/dist/setup.sh @@ -121,7 +121,7 @@ modify_permissions() { do if [[ -e $d ]]; then step " modify permissions: $d" - if [[ $SUDO_REQUIRED ]]; then + if [[ $SUDO_REQUIRED == 1 ]]; then if [[ $(id -u) == 0 ]]; then try chmod -R og-rwx $d else