mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Use /config/data as default https://github.com/alexbelgium/hassio-addons/issues/1645
This commit is contained in:
@@ -21,7 +21,7 @@ if [ -f /data/config/www/nextcloud/config/config.php ]; then
|
||||
datadirectory="$(sed -n "s|.*datadirectory.*' => '*\(.*[^ ]\) *',.*|\1|p" /data/config/www/nextcloud/config/config.php)"
|
||||
echo "... data directory detected : $datadirectory"
|
||||
else
|
||||
datadirectory=/share/nextcloud
|
||||
datadirectory=/config/data
|
||||
echo "Nextcloud is not installed yet, the default data directory is : $datadirectory. You can change it during nextcloud installation."
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user