From ecc8ecd81a1e9bd51ae12f29bfa64c781791ecaf Mon Sep 17 00:00:00 2001 From: Tom Soulard Date: Thu, 5 Oct 2023 12:05:23 +0100 Subject: [PATCH] Slight tweaks to better remove directories --- setup.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/setup.sh b/setup.sh index 8919194..5415b4e 100755 --- a/setup.sh +++ b/setup.sh @@ -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