Remove /data/data

This commit is contained in:
Alexandre
2025-01-09 17:18:36 +01:00
committed by GitHub
parent c0b45b5aa9
commit 1105e09a42

View File

@@ -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 #
################