1
0
Fork 0
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:
mbugeia 2016-01-24 18:37:46 +01:00
parent 88d95a953a
commit 37c7f2c4bb

View file

@ -19,9 +19,9 @@ sudo mv $final_path $final_path.old
sudo mkdir -p $final_path
sudo cp -a ../sources/. $final_path
# restore data
sudo cp -a $final_path.old/data $final_path/data
sudo cp -a $final_path.old/data $final_path
# restore plugins
sudo cp -a $final_path.old/plugins $final_path/plugins
sudo cp -a $final_path.old/plugins $final_path
# delete temp directory
sudo rm -Rf $final_path.old