larbs

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

commit 961e93ca2bb2268894ac5581bd7f9accab6af032
parent d266b7eb60ed73f1ee3a5bf821197faad561a66c
Author: Luke <luke@lukesmith.xyz>
Date:   Sun,  8 Oct 2017 13:45:12 -0700

error test

Diffstat:
A.larbs_user.sh.swp | 0
Mlarbs.sh | 1+
Mlarbs_user.sh | 4++--
3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.larbs_user.sh.swp b/.larbs_user.sh.swp Binary files differ. diff --git 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 @@ -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