mirror of
https://github.com/nox-project/nox-framework.git
synced 2026-06-08 16:07:17 +00:00
NOX Framework v1.0.0
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
if [ "$1" = "purge" ]; then
|
||||
rm -rf /opt/nox-cli
|
||||
rm -rf /root/.nox /root/.config/nox-cli
|
||||
# Also clean for the invoking user if SUDO_USER is set
|
||||
if [ -n "$SUDO_USER" ]; then
|
||||
UHOME=$(getent passwd "$SUDO_USER" | cut -d: -f6)
|
||||
rm -rf "${UHOME}/.nox" "${UHOME}/.config/nox-cli"
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user