server_config/install.sh

15 lines
267 B
Bash

APPS=$@
if [[ $1 == "*" && $# -eq 1 ]]; then
APPS=$(ls -d */)
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