mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
Save plugins during upgrade
This commit is contained in:
parent
8690250086
commit
19889c46ba
1 changed files with 4 additions and 0 deletions
|
@ -18,7 +18,11 @@ 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
|
||||||
sudo cp -a $final_path.old/data $final_path/data
|
sudo cp -a $final_path.old/data $final_path/data
|
||||||
|
# restore plugins
|
||||||
|
sudo cp -a $final_path.old/plugins $final_path/plugins
|
||||||
|
# delete temp directory
|
||||||
sudo rm -Rf $final_path.old
|
sudo rm -Rf $final_path.old
|
||||||
|
|
||||||
# Copy and edit config.php
|
# Copy and edit config.php
|
||||||
|
|
Loading…
Add table
Reference in a new issue