Add uninstall script

This commit is contained in:
Potter360 2024-03-07 22:34:21 +01:00
parent 08a716f891
commit 216736bdd9
1 changed files with 8 additions and 0 deletions

8
uninstall.sh Normal file
View File

@ -0,0 +1,8 @@
DESTDIR=${DESTDIR:-/usr}
case "$1" in
-p=*|--prefix=*)
DESTDIR="${1#*=}"
esac
rm -r "${DESTDIR}/local/share/omega"
rm -r "${DESTDIR}/local/bin/osdk"