[26060] in Source-Commits
Re: /svn/athena r25369 -
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Wed Aug 10 18:11:33 2011
Date: Wed, 10 Aug 2011 18:11:26 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Jonathan D Reed <jdreed@mit.edu>
cc: source-commits@mit.edu
In-Reply-To: <alpine.DEB.2.00.1108101801030.9320@tyger.mit.edu>
Message-ID: <alpine.DEB.2.00.1108101810410.14232@tyger.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
I take that back. Can you make this only run this code on upgrade from the
preceding version or before, as opposed to on every install? If the user
wants to explicitly have no default printer, they shouldn't have to reset
that setting every time they upgrade cupsys-config.
--
Geoffrey Thomas
geofft@mit.edu
On Wed, 10 Aug 2011, Geoffrey Thomas wrote:
> 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
>>
>>
>