diff options
| author | Emil | 2023-08-04 09:13:47 -0600 |
|---|---|---|
| committer | Emil | 2023-08-04 09:13:47 -0600 |
| commit | 935243d8b4ea992c50315f0c8fcb300365a5762d (patch) | |
| tree | c22d800773997b7b267d5d6cba5931f22ee2be64 /uninstall.sh | |
| download | emil-probotic-935243d8b4ea992c50315f0c8fcb300365a5762d.tar.xz emil-probotic-935243d8b4ea992c50315f0c8fcb300365a5762d.tar.zst | |
Diffstat (limited to 'uninstall.sh')
| -rw-r--r-- | uninstall.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/uninstall.sh b/uninstall.sh new file mode 100644 index 0000000..ac13841 --- /dev/null +++ b/uninstall.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# doubles as a cleanup script +DIR=$(dirname $(readlink -f "$0")) +cd $DIR +TARGET=${TARGET-/opt/probotic} +userdel probotic +rm -rf $TARGET |
