Skip to content
Snippets Groups Projects
Commit 05c3a8d1 authored by Griefed's avatar Griefed :joystick:
Browse files

fix: Add more logging to determine whether scripts work as intended

parent 6517494d
No related branches found
Tags 1.0.3
1 merge request!3Replace check for file and add logging
......@@ -19,6 +19,8 @@ if [ ! -f /config/www/sui.lock ]; then
/config/www/
rm -Rf /tmp/sui
touch /config/www/sui.lock
else
echo "**** lock-file found. Skipping installation... ****"
fi
# Permission Stuffs
......
......@@ -7,6 +7,8 @@ if [ ! -f /config/www/apps.json ]; then
sed -i \
"s/DOMAIN/${DOMAIN}/g" \
/config/www/apps.json
else
echo "**** apps.json-file found. Skipping installation... ****"
fi
......@@ -14,6 +16,8 @@ if [ ! -f /config/www/links.json ]; then
cp -f \
/defaults/links.json \
/config/www/links.json
else
echo "**** links.json-file found. Skipping installation... ****"
fi
......@@ -24,6 +28,8 @@ if [ ! -f /config/www/index.html ]; then
sed -i \
"s/PROTOCOL/${PROTOCOL}/g" \
/config/www/index.html
else
echo "**** index.html-file found. Skipping installation... ****"
fi
# Permissions Stuffs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment