1
0
Fork 0
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:
Maniack Crudelis 2018-03-12 20:02:24 +01:00
parent fbd32ae1b7
commit 5b83d679d2
3 changed files with 6 additions and 0 deletions

View file

@ -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"