diff --git a/scripts/upgrade b/scripts/upgrade index c193278..7594a17 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -18,7 +18,11 @@ 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 +# restore plugins +sudo cp -a $final_path.old/plugins $final_path/plugins +# delete temp directory sudo rm -Rf $final_path.old # Copy and edit config.php