larbs

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

commit 0a2036d30adf1bdafef32fa86fb39897ca7d8db6
parent 8740b69be0e786cf3e6d7d8fb156f525c6d372ae
Author: Luke <luke@lukesmith.xyz>
Date:   Sun,  8 Oct 2017 13:36:41 -0700

more name fixes?

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

diff --git a/.larbs.sh.swp b/.larbs.sh.swp Binary files differ. diff --git a/larbs.sh b/larbs.sh @@ -18,6 +18,7 @@ do done NAME=$(cat .name) +chmod 777 .name useradd -m -g wheel -s /bin/bash $NAME echo "$NAME:$(cat .pass1)" | chpasswd @@ -106,7 +107,6 @@ done #pacman --noconfirm --needed -S projectm-pulseaudio blue Downloading next portion of the script \(user.sh\)... -echo $NAME > /home/$NAME/.name && chmod 777 /home/$NAME/.name curl https://raw.githubusercontent.com/LukeSmithxyz/larbs/master/user.sh > /home/$NAME/user.sh && blue Running user.sh script as $NAME... sudo -u $NAME bash /home/$NAME/user.sh || red Error when running user.sh... rm -f /home/$NAME/user.sh diff --git a/larbs_user.sh b/larbs_user.sh @@ -4,6 +4,7 @@ blue() { printf "\033[0;34m $* \033[0m\n" && (echo $* >> LARBS.log) ;} red() { printf "\033[0;31m $* \033[0m\n" && (echo ERROR: $* >> LARBS.log) ;} NAME=$(cat .name) +rm -f .name blue Changing directory to /home/$NAME... cd /home/$NAME