force deletions

This commit is contained in:
Luke 2017-10-06 08:53:00 -07:00
parent 7ad14a2a32
commit 570df7c11e

View File

@ -96,11 +96,11 @@ then
blue Downloading next portion of the script \(user.sh\)... blue Downloading next portion of the script \(user.sh\)...
curl https://raw.githubusercontent.com/LukeSmithxyz/larbs/master/user.sh > /home/$USER/user.sh && blue Running user.sh script as $USER... curl https://raw.githubusercontent.com/LukeSmithxyz/larbs/master/user.sh > /home/$USER/user.sh && blue Running user.sh script as $USER...
sudo -u $USER bash /home/$USER/user.sh || red Error when running user.sh... sudo -u $USER bash /home/$USER/user.sh || red Error when running user.sh...
rm /home/$USER/user.sh rm -f /home/$USER/user.sh
else else
USER=$(cat .name) USER=$(cat .name)
blue Downloading next portion of the script \(aur_packages.sh\)... 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... 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... sudo -u $USER bash /home/$USER/aur_packages.sh || red Error when running aur_packages...
rm /home/$USER/aur_packages.sh rm -f /home/$USER/aur_packages.sh
fi fi