diff options
author | Starfall <us@starfall.systems> | 2024-01-08 09:40:24 -0600 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2024-01-08 09:40:24 -0600 |
commit | a91d41375fc87c958f0b4b2ec09d5bfa2bab9414 (patch) | |
tree | 5ecf2d3f5b5962bb2d317ad4ce1fddd88e8b0ed7 /uninstall-scanner.sh |
Diffstat (limited to 'uninstall-scanner.sh')
-rwxr-xr-x | uninstall-scanner.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/uninstall-scanner.sh b/uninstall-scanner.sh new file mode 100755 index 0000000..7441a07 --- /dev/null +++ b/uninstall-scanner.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +SCRIPTS_DIR=$(dirname "$0")/noarch + +# load 'scripting' run-time support utility functions +. "${SCRIPTS_DIR}/scripting_utils" +script_log_init $(basename "$0" ".sh") + +if sh "$SCRIPTS_DIR/pre_install.sh" "$@" -u ; then + sh "$SCRIPTS_DIR/package_uninstall.sh" "scanner-meta" + sh "$SCRIPTS_DIR/post_install.sh" "$@" -u +fi |