Update 01-folders.sh

This commit is contained in:
Alexandre
2025-02-02 17:40:25 +01:00
committed by GitHub
parent 3a77a6f366
commit 9b1368a95d

View File

@@ -23,6 +23,10 @@ if [ -f /data/config/www/nextcloud/config/config.php ]; then
else
datadirectory=/config/data
echo "Nextcloud is not installed yet, the default data directory is : $datadirectory. You can change it during nextcloud installation."
mkdir -p /config/data
chmod 777 /config/data
mkdir -p /share/nextcloud
chmod 777 /share/nextcloud
fi
# Is the directory valid