X Strike Force SVN commit: rev 140 - trunk/debian
Author: branden
Date: 2003-06-04 13:32:18 -0500 (Wed, 04 Jun 2003)
New Revision: 140
Modified:
trunk/debian/changelog
trunk/debian/xdm.postinst.in
trunk/debian/xdm.prerm.in
trunk/debian/xfree86-common.postinst.in
trunk/debian/xfs.postinst.in
trunk/debian/xfs.prerm.in
Log:
use invoke-rc.d to execute init scripts rather than using the absolute path
of the init script itself
Modified: trunk/debian/xfs.postinst.in
==============================================================================
--- trunk/debian/xfs.postinst.in 2003-06-04 15:08:27 UTC (rev 139)
+++ trunk/debian/xfs.postinst.in 2003-06-04 18:32:18 UTC (rev 140)
@@ -43,7 +43,7 @@
NOSTART=yes
fi
-[ -n "$NOSTART" ] || /etc/init.d/xfs start || true
+[ -n "$NOSTART" ] || invoke-rc.d xfs start || true
#DEBHELPER#
Modified: trunk/debian/xdm.prerm.in
==============================================================================
--- trunk/debian/xdm.prerm.in 2003-06-04 15:08:27 UTC (rev 139)
+++ trunk/debian/xdm.prerm.in 2003-06-04 18:32:18 UTC (rev 140)
@@ -70,7 +70,7 @@
fi
if [ -n "$STOP" ]; then
- /etc/init.d/xdm stop || true
+ invoke-rc.d xdm stop || true
else
if [ "$1" = "upgrade" -o "$1" = "failed-upgrade" ]; then
touch /var/run/xdm.upgrade
Modified: trunk/debian/changelog
==============================================================================
--- trunk/debian/changelog 2003-06-04 15:08:27 UTC (rev 139)
+++ trunk/debian/changelog 2003-06-04 18:32:18 UTC (rev 140)
@@ -22,8 +22,11 @@
* debian/xlibs-pic.install*: sigh; add usr/X11R6/lib/libxkbfile_pic.a so
that it's actually shipped in the package -- both LaMont and I overlooked
this subtle detail :-P
+ * debian/{xdm.postinst.in,xdm.prerm.in,xfree86-common.postinst.in,
+ xfs.postinst.in,xfs.prerm.in}: use invoke-rc.d to execute init scripts
+ rather than using the absolute path of the init script itself
- -- Branden Robinson <branden@debian.org> Wed, 4 Jun 2003 10:06:31 -0500
+ -- Branden Robinson <branden@debian.org> Wed, 4 Jun 2003 13:30:26 -0500
xfree86 (4.2.1-7) unstable; urgency=medium
Modified: trunk/debian/xfs.prerm.in
==============================================================================
--- trunk/debian/xfs.prerm.in 2003-06-04 15:08:27 UTC (rev 139)
+++ trunk/debian/xfs.prerm.in 2003-06-04 18:32:18 UTC (rev 140)
@@ -28,7 +28,7 @@
fi
if [ -n "$STOP" ]; then
- /etc/init.d/xfs stop || true
+ invoke-rc.d xfs stop || true
else
touch /var/run/xfs.upgrade
fi
Modified: trunk/debian/xfree86-common.postinst.in
==============================================================================
--- trunk/debian/xfree86-common.postinst.in 2003-06-04 15:08:27 UTC (rev 139)
+++ trunk/debian/xfree86-common.postinst.in 2003-06-04 18:32:18 UTC (rev 140)
@@ -51,7 +51,7 @@
#DEBHELPER#
-/etc/init.d/$THIS_PACKAGE start || true
+invoke-rc.d $THIS_PACKAGE start || true
exit 0
Modified: trunk/debian/xdm.postinst.in
==============================================================================
--- trunk/debian/xdm.postinst.in 2003-06-04 15:08:27 UTC (rev 139)
+++ trunk/debian/xdm.postinst.in 2003-06-04 18:32:18 UTC (rev 140)
@@ -83,7 +83,7 @@
update-rc.d xdm defaults 99 01
fi
-[ -n "$NOSTART" ] || /etc/init.d/xdm start || true
+[ -n "$NOSTART" ] || invoke-rc.d xdm start || true
#DEBHELPER#
Reply to: