This commit is contained in:
jash
2018-11-04 17:53:02 +01:00
committed by kexkey
parent f5bcfe5089
commit 582a0098b5

2
dist/setup.sh vendored
View File

@@ -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