add description of dependencies/modules to install

This commit is contained in:
Alexandre
2022-02-25 10:17:48 +01:00
parent c23e5def1a
commit 3e48b4056a
56 changed files with 112 additions and 112 deletions

View File

@@ -6,9 +6,9 @@
# Automatic modules download #
##############################
if [ -e "/MODULESFILE" ]; then
echo "Executing modules script"
MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}"
echo "Executing modules script : installing $MODULES"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
@@ -21,8 +21,8 @@ fi
# Automatic installer #
#######################
if [ -e "/ENVFILE" ]; then
echo "Executing script"
PACKAGES=$(</ENVFILE)
echo "Executing dependency script with custom elements : $PACKAGES"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \