Skip to content
Snippets Groups Projects
Unverified Commit c9808b6b authored by Griefed's avatar Griefed :joystick: Committed by GitHub
Browse files

Merge pull request #2 from Griefed/develop

fix issue #1 "after each restart, all files are recreated"
parents 2396fdba a6d61800
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/with-contenv bash
if [ ! -a /config/www/sui.lock ]; then
if [ ! -f /config/www/sui.lock ]; then
echo "**** Installing SUI ****"
rm -f /config/www/*
rm -Rf /config/www/*
git clone \
https://github.com/jeroenpardon/sui.git \
/tmp/sui
......@@ -12,7 +12,7 @@ if [ ! -a /config/www/sui.lock ]; then
/tmp/sui/License.md \
/tmp/sui/apps.json \
/tmp/sui/links.json \
/tmp/sui/index.html \
/tmp/sui/index.html
rm -Rf /tmp/sui/.git
cp -Rf \
/tmp/sui/. \
......
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