@@ -63,7 +63,8 @@ if [[ -n "${BUNDLE_NAME}" ]]; then
|
||||
test -n "${SOURCE_DIR}" || { echo "Bare bundle contained no application directory" >&2; exit 1; }
|
||||
test -x "${SOURCE_DIR}/packaging/install.sh" || { echo "Bare bundle contained no installer" >&2; exit 1; }
|
||||
echo "Installing the bundled Bare runtime; Node.js is not required"
|
||||
exec bash "${SOURCE_DIR}/packaging/install.sh" "$@"
|
||||
bash "${SOURCE_DIR}/packaging/install.sh" "$@"
|
||||
exit $?
|
||||
fi
|
||||
fi
|
||||
if ! command -v npm >/dev/null || ! command -v node >/dev/null; then
|
||||
@@ -82,4 +83,4 @@ test -n "$SOURCE_DIR" || { echo "Downloaded archive contained no source director
|
||||
test -x "$SOURCE_DIR/packaging/install.sh" || { echo "Downloaded ref has no installer" >&2; exit 1; }
|
||||
|
||||
echo "Installing into the current user account"
|
||||
exec bash "$SOURCE_DIR/packaging/install.sh" "$@"
|
||||
bash "$SOURCE_DIR/packaging/install.sh" "$@"
|
||||
|
||||
Reference in New Issue
Block a user