From f842c6d6ea33b428cc2fe8603e9b1a6ab54c4321 Mon Sep 17 00:00:00 2001 From: RP1 Date: Sun, 22 Dec 2024 16:21:41 +0100 Subject: [PATCH] moved cleanup to the end --- rp-os-ae.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rp-os-ae.sh b/rp-os-ae.sh index 5771574..1252a99 100644 --- a/rp-os-ae.sh +++ b/rp-os-ae.sh @@ -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...