]> git.pld-linux.org Git - packages/STonX.git/commitdiff
- 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 0c18e32ea229ab0978d4a7b212767f47d7494e35..ebb4511c16ee39fd33c071fa971d3269259c730e 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
 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
 
 %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)
 
 %files
 %defattr(644,root,root,755)
This page took 0.095324 seconds and 4 git commands to generate.