Update 41-folders.sh

This commit is contained in:
Alexandre
2023-02-21 21:30:07 +01:00
committed by GitHub
parent fbd1558e12
commit 5834fc098f

View File

@@ -15,7 +15,7 @@ else
chown -R abc:abc /share/piwigo
fi
if [ ! -d /share/piwigo/config ]; then
if [ ! -d /share/piwigo/config ] && [ -d /config/www/local/config ]; then
echo "moving config folder"
mv /config/www/local/config /share/piwigo
ln -s /share/piwigo/config /config/www/local