mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
Fix duplicate path in upgrade
This commit is contained in:
parent
88d95a953a
commit
37c7f2c4bb
1 changed files with 2 additions and 2 deletions
|
@ -19,9 +19,9 @@ sudo mv $final_path $final_path.old
|
||||||
sudo mkdir -p $final_path
|
sudo mkdir -p $final_path
|
||||||
sudo cp -a ../sources/. $final_path
|
sudo cp -a ../sources/. $final_path
|
||||||
# restore data
|
# restore data
|
||||||
sudo cp -a $final_path.old/data $final_path/data
|
sudo cp -a $final_path.old/data $final_path
|
||||||
# restore plugins
|
# restore plugins
|
||||||
sudo cp -a $final_path.old/plugins $final_path/plugins
|
sudo cp -a $final_path.old/plugins $final_path
|
||||||
# delete temp directory
|
# delete temp directory
|
||||||
sudo rm -Rf $final_path.old
|
sudo rm -Rf $final_path.old
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue