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