[26057] in Source-Commits
/svn/athena r25369 - trunk/debathena/config/cupsys-config/debian
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Wed Aug 10 17:59:31 2011
Date: Wed, 10 Aug 2011 17:59:25 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201108102159.p7ALxP0J006545@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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