summary refs log tree commit diff
path: root/uninstall-printer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'uninstall-printer.sh')
-rwxr-xr-xuninstall-printer.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/uninstall-printer.sh b/uninstall-printer.sh
new file mode 100755
index 0000000..2fea2a7
--- /dev/null
+++ b/uninstall-printer.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" "printer-meta"
+	sh "$SCRIPTS_DIR/post_install.sh" "$@" -u
+fi