cleaner modules backup script

This commit is contained in:
Alexandre
2022-02-25 10:46:13 +01:00
parent 384f6c8d4e
commit db6bd94b3c
56 changed files with 56 additions and 56 deletions

View File

@@ -9,7 +9,7 @@
if [ -e "/MODULESFILE" ]; then
MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}"
echo "Executing modules script : installing $MODULES"
echo "Executing modules script : $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 \