mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Remove /data/data
This commit is contained in:
@@ -58,6 +58,12 @@ chmod -R 755 "$DATA_LOCATION"
|
|||||||
chown -R www-data:www-data "/config"
|
chown -R www-data:www-data "/config"
|
||||||
chmod -R 755 "/config"
|
chmod -R 755 "/config"
|
||||||
|
|
||||||
|
# Remove /data/data
|
||||||
|
if [[ -d "$DATA_LOCATION"/data ]] && [[ "$(ls -A "$DATA_LOCATION"/data/*)" ]]; then
|
||||||
|
mv "$DATA_LOCATION"/data/* "$DATA_LOCATION"/
|
||||||
|
rm -r "$DATA_LOCATION"/data
|
||||||
|
fi
|
||||||
|
|
||||||
################
|
################
|
||||||
# SSL CONFIG #
|
# SSL CONFIG #
|
||||||
################
|
################
|
||||||
|
|||||||
Reference in New Issue
Block a user