From 1bc819d92e14765220421d489fc1ec50c6754eb8e9e7bfe264d3e3f3eda37b6a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 10 Nov 2014 10:17:19 +0000 Subject: [PATCH] Accepting request 260428 from home:Ledest:misc fix bashism in pre script OBS-URL: https://build.opensuse.org/request/show/260428 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=105 --- clamav.changes | 5 +++++ clamav.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/clamav.changes b/clamav.changes index 7e9736d..a537c2b 100644 --- a/clamav.changes +++ b/clamav.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 09 02:31:00 UTC 2014 - Led + +- fix bashism in pre script + ------------------------------------------------------------------- Thu Jun 26 15:25:33 UTC 2014 - max@suse.com diff --git a/clamav.spec b/clamav.spec index 89d3568..e0a9aec 100644 --- a/clamav.spec +++ b/clamav.spec @@ -203,7 +203,7 @@ for f in /etc/clamd.conf /etc/freshclam.conf /etc/clamav-milter.conf; do if test -e $f.rpmnew; then echo "Merging $f and $f.rpmnew" %_sbindir/updateclamconf -v override="$OVERRIDE" $f $f.rpmnew > $f.tmp - if test $? == 0; then + if test $? = 0; then mv $f $f.old mv $f.tmp $f else