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
This commit is contained in:
Marcus Meissner 2014-11-10 10:17:19 +00:00 committed by Git OBS Bridge
parent 9354c3737c
commit 1bc819d92e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 09 02:31:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashism in pre script
-------------------------------------------------------------------
Thu Jun 26 15:25:33 UTC 2014 - max@suse.com

View File

@ -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