mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Fix upgrade old version (#99)
* Fix upgrade old version * Move to an existing if
This commit is contained in:
parent
fbd32ae1b7
commit
0e56a2f8b4
3 changed files with 2 additions and 0 deletions
|
@ -176,6 +176,8 @@ do
|
|||
# then it's the last upgrade to do
|
||||
if [ "$major_version" -eq "$current_major_version" ]; then
|
||||
current_major_version=last
|
||||
# Patch nexcloud files only for the last upgrade.
|
||||
cp -a ../sources/patches_last_version ../sources/patches
|
||||
fi
|
||||
|
||||
# Load the value for this version
|
||||
|
|
Loading…
Add table
Reference in a new issue