Author: julien Date: 2007-01-22 03:24:30 -0500 (Mon, 22 Jan 2007) New Revision: 4213
Modified: branches/etch/app/xdm/debian/xdm.postinst.in Log: Use the FIRSTINST variable from xsfbs.mk to test for initial installation. Modified: branches/etch/app/xdm/debian/xdm.postinst.in =================================================================== --- branches/etch/app/xdm/debian/xdm.postinst.in 2007-01-21 19:43:15 UTC (rev 4212) +++ branches/etch/app/xdm/debian/xdm.postinst.in 2007-01-22 08:24:30 UTC (rev 4213) @@ -96,7 +96,7 @@ DENYSTART= # On upgrades, don't start the daemon if it's already running... -if ( [ "$1" != install ] || [ -n "$2" ] ) && \ +if [ -z "$FIRSTINST" ] && \ start-stop-daemon --stop --quiet --signal 0 --pid /var/run/xdm.pid \ --name $(basename $DAEMON) ; then # Note our refusal to start the daemon if we were supposed to start it. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]