mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 01-folders.sh
This commit is contained in:
@@ -23,6 +23,10 @@ if [ -f /data/config/www/nextcloud/config/config.php ]; then
|
|||||||
else
|
else
|
||||||
datadirectory=/config/data
|
datadirectory=/config/data
|
||||||
echo "Nextcloud is not installed yet, the default data directory is : $datadirectory. You can change it during nextcloud installation."
|
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
|
fi
|
||||||
|
|
||||||
# Is the directory valid
|
# Is the directory valid
|
||||||
|
|||||||
Reference in New Issue
Block a user