]> git.pld-linux.org Git - packages/fcron.git/commitdiff
update switch trigger from cronie auto/th/fcron-3.1.2-3
authorElan Ruusamäe <glen@delfi.ee>
Sun, 1 Mar 2015 14:16:59 +0000 (16:16 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 1 Mar 2015 14:16:59 +0000 (16:16 +0200)
fcron.spec

index d25f1879e85db659e90252d4f551ca1bdf846915..9540129c6566b7c2e28db1a7126429586c5e068c 100644 (file)
@@ -206,7 +206,13 @@ if [ "$1" = "0" ]; then
        %groupremove crontab
 fi
 
-%triggerpostun -- hc-cron
+%triggerun -- hc-cron,vixie-cron,cronie
+# Prevent preun from crond from working
+chmod a-x /etc/rc.d/init.d/crond
+
+%triggerpostun -- hc-cron,vixie-cron,cronie
+# Restore what triggerun removed
+chmod 754 /etc/rc.d/init.d/crond
 # reinstall crond init.d links, which could be different
 /sbin/chkconfig --del crond
 /sbin/chkconfig --add crond
This page took 0.080201 seconds and 4 git commands to generate.