2024-05-29 15:59:17 +02:00
|
|
|
# Install requirements
|
|
|
|
echo "[server_config] > Installing required utilities"
|
|
|
|
source ./_requirements.sh
|
|
|
|
|
|
|
|
# Install services
|
2024-05-29 13:42:18 +02:00
|
|
|
APPS=$@
|
|
|
|
|
|
|
|
if [[ $1 == "*" && $# -eq 1 ]]; then
|
2024-05-29 15:05:39 +02:00
|
|
|
APPS=$(ls -d */)
|
2024-05-29 13:42:18 +02:00
|
|
|
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
|