Update reset_default_config

This commit is contained in:
ericgaspar 2021-07-17 20:43:22 +02:00
parent df0fbd2f03
commit 2960f628a4
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -106,7 +106,7 @@ then
cp /etc/yunohost/apps/$app/conf/02periodic "$config_file"
# Recreate the default config
ynh_replace_string --match_string="__VERBOSITY__" --replace_string="$unattended_verbosity" --target_file="/etc/apt/apt.conf.d/02periodic"
ynh_replace_string --match_string="__UNATTENDED_VERBOSITY__" --replace_string="$unattended_verbosity" --target_file="/etc/apt/apt.conf.d/02periodic"
fi
# Calculate and store the config file checksum into the app settings