mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01: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"
|
||||
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 #
|
||||
################
|
||||
|
||||
Reference in New Issue
Block a user