From d49776a2678f4125362855ea3079bc29455863fd Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 10 Jun 2015 09:32:04 +0200 Subject: [PATCH] Fix small typos --- .../clamav-unofficial-sigs/clamav-unofficial-sigs.conf/030Reload | 2 +- .../clamav-unofficial-sigs.conf/040Databases | 6 +++--- .../clamav-unofficial-sigs/clamav-unofficial-sigs.conf/060Dirs | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/030Reload b/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/030Reload index 8457cfc..9e077cd 100644 --- a/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/030Reload +++ b/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/030Reload @@ -1,2 +1,2 @@ -reload_dbs="yes +reload_dbs="yes" reload_opt="clamdscan --reload" diff --git a/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/040Databases b/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/040Databases index 26de78d..fb43dff 100644 --- a/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/040Databases +++ b/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/040Databases @@ -18,8 +18,8 @@ if ((${'clamav-unofficial-sigs'}{'status'} || 'disabled') eq 'enabled'){ push @mbl, $param; } } - $OUT .= "ss_dbs=\"\n" . join "\n", @ss . '"' if (scalar @ss > 0); - $OUT .= "si_dbs=\"\n" . join "\n", @si . '"' if (scalar @si > 0); - $OUT .= "mbl_dbs=\"\n" . join "\n", @mbl . '"' if (scalar @mbl > 0); + $OUT .= "ss_dbs=\"\n " . join("\n ", @ss) . "\n\"\n" if (scalar @ss > 0); + $OUT .= "si_dbs=\"\n " . join("\n ", @si) . "\n\"\n" if (scalar @si > 0); + $OUT .= "mbl_dbs=\"\n " . join("\n ", @mbl) . "\n\"\n" if (scalar @mbl > 0); } } diff --git a/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/060Dirs b/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/060Dirs index d78e60f..171b91e 100644 --- a/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/060Dirs +++ b/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/060Dirs @@ -1,7 +1,7 @@ -work_dir="/var/lib/clamav-unofficial-sigs +work_dir="/var/lib/clamav-unofficial-sigs" ss_dir="$work_dir/ss-dbs" -si_dir="$work_dir/si-dbs -mbl_dir="$work_dir/mbl-dbs +si_dir="$work_dir/si-dbs" +mbl_dir="$work_dir/mbl-dbs" config_dir="$work_dir/configs" gpg_dir="$work_dir/gpg-key" -add_dir="$work_dir/add-dbs +add_dir="$work_dir/add-dbs"