larbs

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit fb98e21ae93488b0d2c348a1f3ff09c1cfa5dffb
parent 9e6a174e936549ce867e67cf0aad2b645f9e5ba4
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Fri,  2 Mar 2018 22:21:25 -0700

devel mode enabled

Diffstat:
Msrc/larbs.sh | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 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