devel mode enabled

This commit is contained in:
Luke Smith 2018-03-02 22:21:25 -07:00
parent 9e6a174e93
commit fb98e21ae9

View file

@ -62,7 +62,10 @@ done
dialog --infobox "Preparing the user script..." 4 40 dialog --infobox "Preparing the user script..." 4 40
curl https://raw.githubusercontent.com/LukeSmithxyz/larbs/master/src/sudoers_tmp > /etc/sudoers curl https://raw.githubusercontent.com/LukeSmithxyz/larbs/master/src/sudoers_tmp > /etc/sudoers
cd /tmp 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 sudo -u $name bash /tmp/larbs_user.sh
rm -f /tmp/larbs_user.sh rm -f /tmp/larbs_user.sh