[25854] in Source-Commits
Re: /svn/athena r25264 -
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Wed Jul 20 15:09:27 2011
Date: Wed, 20 Jul 2011 15:09:21 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Jonathan D Reed <jdreed@mit.edu>
cc: source-commits@mit.edu
In-Reply-To: <201107201842.p6KIgofW001262@drugstore.mit.edu>
Message-ID: <alpine.DEB.2.00.1107201509100.6814@tyger.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
ACK r25262:r25264
--
Geoffrey Thomas
geofft@mit.edu
On Wed, 20 Jul 2011, Jonathan D Reed wrote:
> 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
>
>