mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Fix upgrade old version
This commit is contained in:
parent
fbd32ae1b7
commit
5b83d679d2
3 changed files with 6 additions and 0 deletions
|
@ -191,6 +191,12 @@ do
|
|||
# Create a temporary directory
|
||||
tmpdir=$(mktemp -d)
|
||||
|
||||
# Patch nexcloud files only for the last upgrade.
|
||||
if [ "$current_major_version" = "last" ]
|
||||
then
|
||||
cp -a ../sources/patches_last_version ../sources/patches
|
||||
fi
|
||||
|
||||
# Install the next nextcloud version in $tmpdir
|
||||
ynh_setup_source "$tmpdir"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue