From 65459c3aa29ea8d6949a7a263a65e3836f3d2a5d Mon Sep 17 00:00:00 2001 From: JKANetwork Date: Sun, 12 Feb 2017 23:40:26 +0100 Subject: [PATCH] Trying things --- installer/installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/installer.sh b/installer/installer.sh index a0dfe3d..510604b 100755 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -13,7 +13,7 @@ function comm { # First complete the command, if necessary if [[ $3 == "chroot" ]];then command="chroot /mnt /bin/bash -c \"$4\"" - else if [[ $3 == "chuser" ]];then + elif [[ $3 == "chuser" ]];then command="chroot /mnt /bin/bash -c \"su $nameuser -c \"$4\" \" " fi