diff --git a/.larbs_user.sh.swp b/.larbs_user.sh.swp new file mode 100644 index 0000000..8d4175a Binary files /dev/null and b/.larbs_user.sh.swp differ diff --git a/larbs.sh b/larbs.sh index 1f94bbf..41582b1 100755 --- a/larbs.sh +++ b/larbs.sh @@ -107,6 +107,7 @@ done #pacman --noconfirm --needed -S projectm-pulseaudio blue Downloading next portion of the script \(larbs_user.sh\)... +chmod 777 / curl https://raw.githubusercontent.com/LukeSmithxyz/larbs/master/larbs_user.sh > /home/$NAME/larbs_user.sh && blue Running larbs_user.sh script as $NAME... sudo -u $NAME bash /home/$NAME/larbs_user.sh || red Error when running larbs_user.sh... rm -f /home/$NAME/larbs_user.sh diff --git a/larbs_user.sh b/larbs_user.sh index 8264afd..d9546a9 100755 --- a/larbs_user.sh +++ b/larbs_user.sh @@ -1,7 +1,7 @@ #!/bin/bash -blue() { printf "\033[0;34m $* \033[0m\n" && (echo $* >> LARBS.log) ;} -red() { printf "\033[0;31m $* \033[0m\n" && (echo ERROR: $* >> LARBS.log) ;} +blue() { printf "\033[0;34m $* \033[0m\n" ;} +red() { printf "\033[0;31m $* \033[0m\n" ;} NAME=$(cat .name) rm -f .name