[26059] in Source-Commits
Re: /svn/athena r25369 -
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Wed Aug 10 18:01:20 2011
Date: Wed, 10 Aug 2011 18:01:14 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Jonathan D Reed <jdreed@mit.edu>
cc: source-commits@mit.edu
In-Reply-To: <201108102159.p7ALxP0J006545@drugstore.mit.edu>
Message-ID: <alpine.DEB.2.00.1108101801030.9320@tyger.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
ACK this and the previous commit.
--
Geoffrey Thomas
geofft@mit.edu
On Wed, 10 Aug 2011, Jonathan D Reed wrote:
> Author: jdreed
> Date: 2011-08-10 17:59:25 -0400 (Wed, 10 Aug 2011)
> New Revision: 25369
>
> Modified:
> trunk/debathena/config/cupsys-config/debian/configure-athena-printers
> Log:
> Use the variable for the default printer
>
> Modified: trunk/debathena/config/cupsys-config/debian/configure-athena-printers
> ===================================================================
> --- trunk/debathena/config/cupsys-config/debian/configure-athena-printers 2011-08-10 21:56:31 UTC (rev 25368)
> +++ trunk/debathena/config/cupsys-config/debian/configure-athena-printers 2011-08-10 21:59:25 UTC (rev 25369)
> @@ -33,7 +33,7 @@
> # There exist return codes. Use them.
> # Love, Debathena
> if [ "$(lpstat -d)" = "no system default destination" ]; then
> - lpadmin -d mitprint
> + lpadmin -d $DEFAULT_PRINTER
> fi
> # We don't need to deal with this on uninstall. CUPS is
> # smart enough (for now, at least) to not retain a default when
>
>