Browse Source

Fix upgrade old version (#99)

* Fix upgrade old version
* Move to an existing if
pull/102/head
Maniack Crudelis 8 years ago
committed by JimboJoe
parent
commit
0e56a2f8b4
  1. 2
      scripts/upgrade
  2. 0
      sources/patches_last_version/app-00-add-logout_url-conf.patch
  3. 0
      sources/patches_last_version/app-01-disable-CSPv3-nonce_and_allow-YNH-fonts.patch

2
scripts/upgrade

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

0
sources/patches/app-00-add-logout_url-conf.patch → sources/patches_last_version/app-00-add-logout_url-conf.patch

0
sources/patches/app-01-disable-CSPv3-nonce_and_allow-YNH-fonts.patch → sources/patches_last_version/app-01-disable-CSPv3-nonce_and_allow-YNH-fonts.patch

Loading…
Cancel
Save