[25853] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25264 - trunk/debathena/config/cluster-cups-config/debian

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Wed Jul 20 14:42:56 2011

Date: Wed, 20 Jul 2011 14:42:50 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201107201842.p6KIgofW001262@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2011-07-20 14:42:50 -0400 (Wed, 20 Jul 2011)
New Revision: 25264

Modified:
   trunk/debathena/config/cluster-cups-config/debian/postinst
Log:
Use update-notifier to indicate a reboot is required

Modified: trunk/debathena/config/cluster-cups-config/debian/postinst
===================================================================
--- trunk/debathena/config/cluster-cups-config/debian/postinst	2011-07-20 18:21:24 UTC (rev 25263)
+++ trunk/debathena/config/cluster-cups-config/debian/postinst	2011-07-20 18:42:50 UTC (rev 25264)
@@ -32,8 +32,8 @@
             # CUPS isn't running even though it should be.  We're probably
             # inside the installer.  Let the initscript deal.
 	    touch /var/lib/debathena-cluster-cups-config-reconfigure_required
-	    touch /var/run/reboot-required
-	    echo "debathena-cluster-cups-config" >> /var/run/reboot-required.pkgs
+	    [ -x /usr/share/update-notifier/notify-reboot-required ] && \
+	      /usr/share/update-notifier/notify-reboot-required
 	    exit 0
 	fi
 	/usr/share/debathena-cluster-cups-config/configure-athena-printers add


home help back first fref pref prev next nref lref last post