mirror of
https://github.com/YunoHost-Apps/homeassistant_ynh.git
synced 2024-09-03 19:26:16 +02:00
Fix
This commit is contained in:
parent
40cb16ca26
commit
f54210c14e
1 changed files with 0 additions and 1 deletions
|
@ -60,7 +60,6 @@ fi
|
||||||
if [ ! -d "$data_path" ]; then
|
if [ ! -d "$data_path" ]; then
|
||||||
# move $data_path to new directory
|
# move $data_path to new directory
|
||||||
mv "/""home""/$app" "$data_path"
|
mv "/""home""/$app" "$data_path"
|
||||||
mv "$data_path/.$app/{.,}*" "$data_path/"
|
|
||||||
find "$data_path/.$app" -maxdepth 1 -mindepth 1 -exec mv {} "$data_path" \;
|
find "$data_path/.$app" -maxdepth 1 -mindepth 1 -exec mv {} "$data_path" \;
|
||||||
rmdir "$data_path/.$app"
|
rmdir "$data_path/.$app"
|
||||||
ynh_replace_string --match_string="/home/homeassistant/.homeassistant" --replace_string="$data_path" --target_file="$data_path/configuration.yaml"
|
ynh_replace_string --match_string="/home/homeassistant/.homeassistant" --replace_string="$data_path" --target_file="$data_path/configuration.yaml"
|
||||||
|
|
Loading…
Add table
Reference in a new issue