devel mode enabled
This commit is contained in:
parent
9e6a174e93
commit
fb98e21ae9
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue