diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/install/roverlay-setup-interactive | 11 | ||||
-rwxr-xr-x | bin/roverlay-setup-interactive.sh | 18 |
2 files changed, 29 insertions, 0 deletions
diff --git a/bin/install/roverlay-setup-interactive b/bin/install/roverlay-setup-interactive new file mode 100755 index 0000000..963eab6 --- /dev/null +++ b/bin/install/roverlay-setup-interactive @@ -0,0 +1,11 @@ +#!/bin/sh +set -u + +readonly FUNCTIONS="/usr/share/roverlay/shlib/functions.sh" +readonly FUNCTIONS_STANDALONE='y' +readonly ROVERLAY_INSTALLED='y' + +. "${FUNCTIONS}" || exit 0 +$lf setup-interactive + +setup_interactive_main "$@" diff --git a/bin/roverlay-setup-interactive.sh b/bin/roverlay-setup-interactive.sh new file mode 100755 index 0000000..40367de --- /dev/null +++ b/bin/roverlay-setup-interactive.sh @@ -0,0 +1,18 @@ +#!/bin/bash +set -u +SCRIPT=$(readlink -f "${BASH_SOURCE[0]?}") +SCRIPT_DIR="${SCRIPT%/*}" +PRJROOT="${SCRIPT_DIR%/*}" + +export ROVERLAY_PRJROOT="${PRJROOT}" + +readonly ROVERLAY_SETUP="${PRJROOT}/bin/roverlay-setup" +readonly FUNCTIONS="${PRJROOT}/files/shlib/functions.sh" +readonly FUNCTIONS_STANDALONE='y' +readonly ROVERLAY_INSTALLED='n' + +unset -v SCRIPT SCRIPT_DIR PRJROOT +. "${FUNCTIONS}" || exit 0 +$lf setup-interactive + +setup_interactive_main "$@" |