summary refs log tree commit diff
path: root/install-scanner.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install-scanner.sh')
-rwxr-xr-xinstall-scanner.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/install-scanner.sh b/install-scanner.sh
new file mode 100755
index 0000000..de7a889
--- /dev/null
+++ b/install-scanner.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+SCRIPTS_DIR=$(dirname "$0")/noarch
+
+# load 'scripting' run-time support utility functions
+. "${SCRIPTS_DIR}/scripting_utils"
+script_log_init $(basename "$0" ".sh")
+
+# load 'package' run-time support utility functions
+. "${SCRIPTS_DIR}/package_utils"
+environment_init $(basename "$0" ".sh")
+
+if sh "$SCRIPTS_DIR/pre_install.sh" "$@" ; then
+	sh "$SCRIPTS_DIR/package_install.sh" "scanner-meta"
+	sh "$SCRIPTS_DIR/post_install.sh" "$@"
+fi