]> git.pld-linux.org Git - packages/clamav.git/commitdiff
- added %triggerpostun to rename config to new name (by blues)
authorhawk <hawk@pld-linux.org>
Sun, 17 Oct 2004 18:12:32 +0000 (18:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    clamav.spec -> 1.126

clamav.spec

index 806a877ae147fa998e124923fd8083a1ba61655c..392684cb8cd33e97991ed2c7d08b7c0eece6dd06 100644 (file)
@@ -275,6 +275,13 @@ if [ "$1" = "0" ]; then
        %groupremove clamav
 fi
 
+%triggerpostun -- %{name} <= 0.75.1
+if [ -f /etc/clamav.conf.rpmsave ]; then
+    echo "Renaming config to new name /etc/clamd.conf"
+    mv -f /etc/clamd.conf /etc/clamd.conf.rpmnew
+    mv -f /etc/clamav.conf.rpmsave /etc/clamd.conf
+done
+
 %if %{with milter}
 %post milter
 /sbin/chkconfig --add clamav-milter
This page took 0.144206 seconds and 4 git commands to generate.