From fb98e21ae93488b0d2c348a1f3ff09c1cfa5dffb Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 2 Mar 2018 22:21:25 -0700 Subject: [PATCH] devel mode enabled --- src/larbs.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/larbs.sh b/src/larbs.sh index fa79130..5271353 100755 --- a/src/larbs.sh +++ b/src/larbs.sh @@ -62,7 +62,10 @@ done dialog --infobox "Preparing the user script..." 4 40 curl https://raw.githubusercontent.com/LukeSmithxyz/larbs/master/src/sudoers_tmp > /etc/sudoers cd /tmp -curl https://raw.githubusercontent.com/LukeSmithxyz/larbs/master/src/larbs_user.sh > /tmp/larbs_user.sh +if [ $1 = "devel" ] +then curl https://raw.githubusercontent.com/LukeSmithxyz/larbs/devel/src/larbs_user.sh > /tmp/larbs_user.sh; +else curl https://raw.githubusercontent.com/LukeSmithxyz/larbs/master/src/larbs_user.sh > /tmp/larbs_user.sh; +fi sudo -u $name bash /tmp/larbs_user.sh rm -f /tmp/larbs_user.sh