From 299f3d2e567645d180fd8d550390613f296acf67 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Thu, 21 Feb 2019 19:29:39 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 749083b..7a0fb2a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -73,7 +73,9 @@ fi # See https://www.dokuwiki.org/plugin:config#protecting_settings # Configuration dedicated to Yunohost (LDAP and admin mainly) -# Create file if it does not exist +# Create an empty configuration file if it does not exist +# This file will be overwritten anyway later in the part "# LDAP Configuration" +# The file is created here to prevent a failure of the helper `ynh_backup_if_checksum_is_different` if [ ! -f "$final_path/conf/local.protected.php" ]; then touch $final_path/conf/local.protected.php fi