moved cleanup to the end
This commit is contained in:
parent
f29c94ba2a
commit
f842c6d6ea
1 changed files with 4 additions and 3 deletions
|
@ -83,9 +83,6 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
|
|||
cp -a /home/$USER/cosmetics/.themes /home/$USER/
|
||||
set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png
|
||||
|
||||
sudo rm /etc/sudoers.d/99-$USER
|
||||
sudo rm -rf /home/$USER/cosmetics
|
||||
|
||||
# Adding Custom rave command
|
||||
echo ---------------------------------------------
|
||||
echo Installing ${bold}${yellow}rave command.${normal}
|
||||
|
@ -127,6 +124,10 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
|
|||
echo ${bold}${yellow}ProgramScript Autostart ${normal}installed.
|
||||
echo ---------------------------------------------
|
||||
|
||||
# Cleanup
|
||||
sudo rm /etc/sudoers.d/99-$USER
|
||||
sudo rm -rf /home/$USER/cosmetics
|
||||
|
||||
# End of script
|
||||
echo Reboot in 3s...
|
||||
echo Reboot in 2s...
|
||||
|
|
Loading…
Reference in a new issue