- need rebuilt rpm (with new macros.pld) to build these
Changed files:
fetchmail.spec -> 1.133
%find_lang %{name}
%post daemon
-/sbin/chkconfig --add fetchmail
-if [ -f /var/lock/subsys/fetchmail ]; then
- /etc/rc.d/init.d/fetchmail restart >&2
-else
- echo "Run \"/etc/rc.d/init.d/fetchmail start\" to start fetchmail daemon."
-fi
+DESC="fetchmail daemon"; %chkconfig_add
%preun daemon
-if [ "$1" = "0" ]; then
- if [ -f /var/lock/subsys/fetchmail ]; then
- /etc/rc.d/init.d/fetchmail stop >&2
- fi
- /sbin/chkconfig --del fetchmail
-fi
+%chkconfig_del
%clean
rm -rf $RPM_BUILD_ROOT