4 231
modifications
Aucun résumé des modifications |
|||
Ligne 40 : | Ligne 40 : | ||
Appliquez ce petit patch (fixé sur git et pour les versions > 4.9.2) | Appliquez ce petit patch (fixé sur git et pour les versions > 4.9.2) | ||
<pre> | <pre> | ||
--- clamav-unofficial-sigs.sh | --- a/clamav-unofficial-sigs.sh | ||
+++ clamav-unofficial-sigs.sh | +++ b/clamav-unofficial-sigs.sh | ||
@@ - | @@ -1414,7 +1414,7 @@ done | ||
if [ "$custom_config" != "no" ] ; then | |||
if [ -d "$custom_config" ] ; then | |||
# Assign the custom config dir and remove trailing / (removes / and //) | |||
- shopt -s extglob; custom_config="${custom_config%%+(/)}" | |||
- | + shopt -s extglob; config_dir="${custom_config%%+(/)}" | ||
+ | config_files=( "$config_dir/master.conf" "$config_dir/os.conf" "$config_dir/user.conf" ) | ||
+ | else | ||
config_files=( "$custom_config" ) | |||
</pre> | </pre> | ||