server_config/install.sh

15 lines
263 B
Bash

APPS=$@
if [[ $1 == "*" && $# -eq 1 ]]; then
APPS=$(ls .)
fi
for app in "$APPS"
do
echo "[server_config] > Installing: $app"
source "./$app/_install.sh" \
&& echo "[server_config] > Install done" \
|| echo "[server_config] > Install failed"
done