mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-09 09:21:03 +01:00
Use cp instead of mv
https://github.com/alexbelgium/hassio-addons/issues/2014
This commit is contained in:
@@ -64,7 +64,7 @@ chmod -R 755 "/config"
|
||||
|
||||
# Remove /data/data
|
||||
if [[ -d "$DATA_LOCATION"/data ]] && [[ "$(ls -A "$DATA_LOCATION"/data/*)" ]]; then
|
||||
mv "$DATA_LOCATION"/data/* "$DATA_LOCATION"/
|
||||
cp -rf "$DATA_LOCATION"/data/* "$DATA_LOCATION"/
|
||||
rm -r "$DATA_LOCATION"/data
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user