1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/aeneria_ynh.git synced 2024-09-03 18:06:15 +02:00

Upgrade script - add comment

This commit is contained in:
Simon Mellerin 2020-12-31 12:11:01 +01:00
parent 8170057e5b
commit 8a3b580713
2 changed files with 7 additions and 0 deletions

View file

@ -84,6 +84,12 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..."
# For aeneria source update, we use a temporary directory because
# without it, patche can't be apply correctly:
# In 'app-00-ldap-auth.patch' we create a new file, if we try
# to apply the patch a second time while the file already exists, it
# throws a warning leading to an upgrade fail.
# Create tmpdir for new sources
tmpdir="$(ynh_smart_mktemp min_size=300)"

View file

@ -176,3 +176,4 @@ index 0000000..39ba1e8
+ return $values[0];
+ }
+}
--