From: kloczek Date: Mon, 17 Sep 2001 20:52:52 +0000 (+0000) Subject: - replace "killall -USR1 xfs" by "/etc/rc.d/initd/xfs reload". X-Git-Url: http://git.pld-linux.org/?p=packages%2FSTonX.git;a=commitdiff_plain;h=fac3f99210eb1e0e08a3112272db57433d3e942f - replace "killall -USR1 xfs" by "/etc/rc.d/initd/xfs reload". Changed files: STonX.spec -> 1.2 --- diff --git a/STonX.spec b/STonX.spec index 0c18e32..ebb4511 100644 --- a/STonX.spec +++ b/STonX.spec @@ -82,13 +82,17 @@ rm -rf $RPM_BUILD_ROOT if [ -x /usr/X11R6/bin/mkfontdir ]; then (cd /usr/share/fonts/misc; /usr/X11R6/bin/mkfontdir) fi -killall -USR1 xfs >/dev/null 2>&1 ||: +if [ -f /var/lock/subsys/xfs ]; then + /etc/rc.d/init.d/xfs reload +else %postun if [ -x /usr/X11R6/bin/mkfontdir ]; then (cd /usr/share/fonts/misc; /usr/X11R6/bin/mkfontdir) fi -killall -USR1 xfs >/dev/null 2>&1 ||: +if [ -f /var/lock/subsys/xfs ]; then + /etc/rc.d/init.d/xfs reload +else %files %defattr(644,root,root,755)