fix to USER persistence
This commit is contained in:
@@ -98,9 +98,10 @@ then
|
||||
sudo -u $USER bash /home/$USER/user.sh || red Error when running user.sh...
|
||||
rm -f /home/$USER/user.sh
|
||||
else
|
||||
USER=$(cat .name)
|
||||
USER=$(cat .name) || red Could not retreive username...
|
||||
blue Downloading next portion of the script \(aur_packages.sh\)...
|
||||
curl https://raw.githubusercontent.com/LukeSmithxyz/larbs/master/aur_packages.sh > /home/$USER/aur_packages.sh && blue Running aur_packages as $USER...
|
||||
sudo -u $USER bash /home/$USER/aur_packages.sh || red Error when running aur_packages...
|
||||
rm -f /home/$USER/aur_packages.sh
|
||||
fi
|
||||
rm .firstrun
|
||||
|
||||
Reference in New Issue
Block a user