Skip to content

Commit

Permalink
Slight tweaks to better remove directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Soulard committed Oct 5, 2023
1 parent a5255dc commit ecc8ecd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -259,14 +259,15 @@ remove_enclave() {
"suse")
sudo zypper rm -n enclave
;;
*)
# Default Case
sudo rm -rfd /etc/enclave/
*) # Default Case
# Files
sudo rm -rf /usr/bin/enclave
sudo rm -rf /usr/lib/systemd/system/enclave.service
sudo rm -rf /usr/lib/systemd/user/enclave-auth.service
sudo rm -rf /usr/share/doc/enclave
sudo rm -rf /root/.net/enclave
# Directories
sudo rm -rfd /etc/enclave/
sudo rm -rfd /usr/share/doc/enclave/
sudo rm -rfd /root/.net/enclave/
;;
esac

Expand Down

0 comments on commit ecc8ecd

Please sign in to comment.