Update 20-folders.sh

This commit is contained in:
Alexandre
2022-01-07 08:06:43 +01:00
committed by GitHub
parent 3ca646802a
commit 275e6c4ae7

View File

@@ -2,7 +2,8 @@
mkdir -p /share/webtop-alpine
chown abc:abc /share/webtop-alpine
if [ ! -f /config/configuration.html ]; then
rm -r /config
fi
if [ ! -f /config/configuration.yaml ]; then
rm -r /config
ln -s /share/webtop-alpine /config
echo "Data folder set to /share/webtop-alpine"
fi