- replace "killall -USR1 xfs" by "/etc/rc.d/initd/xfs reload".
authorkloczek <kloczek@pld-linux.org>
Mon, 17 Sep 2001 20:52:52 +0000 (20:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    STonX.spec -> 1.2

STonX.spec

index 0c18e32..ebb4511 100644 (file)
@@ -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)
This page took 0.289647 seconds and 4 git commands to generate.