summary refs log tree commit diff
path: root/install-scanner.sh
blob: de7a8893b4e3b333e743e0d57b52eac2ec25d838 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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