From a91d41375fc87c958f0b4b2ec09d5bfa2bab9414 Mon Sep 17 00:00:00 2001 From: Starfall Date: Mon, 8 Jan 2024 09:40:24 -0600 Subject: Initial commit --- install-scanner.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 install-scanner.sh (limited to 'install-scanner.sh') 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 -- cgit