diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-08-20 13:10:46 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-08-20 13:10:46 +0300 |
commit | 038cd220d6edf02a5e92e58ccf1097b49f4cc626 (patch) | |
tree | 6224aa59fdf5cc739c52135b424d15df6f76f55e | |
parent | c17eb61eae6b3aee57ffd2287a88e07aef4ed511 (diff) | |
download | arching-kaos-tools-038cd220d6edf02a5e92e58ccf1097b49f4cc626.tar.gz arching-kaos-tools-038cd220d6edf02a5e92e58ccf1097b49f4cc626.tar.bz2 arching-kaos-tools-038cd220d6edf02a5e92e58ccf1097b49f4cc626.zip |
Now checking if it is installed first
-rwxr-xr-x | uninstall.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/uninstall.sh b/uninstall.sh index 92b54b7..380b925 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -1,6 +1,7 @@ #!/bin/bash printf "Arching Kaos Tools - Uninstaller\n" printf "--------------------------------\n" +if [ -d "$AK_WORKDIR" ] ; then printf "No arching-kaos found... Aborting...\n"; exit 1; fi printf "Backing up your GPG keyring..." tar cfz $AK_ROOT/aknet-gpg-keyring-backup-`date -u +%Y%m%d`.tar.gz $AK_GPGHOME if [ $? -ne 0 ] |