[PC-BSD Commits] r7972 - pcbsd/current/src-qt4/pc-cupscfg

svn at pcbsd.org svn at pcbsd.org
Mon Nov 1 13:34:24 PDT 2010


Author: kris
Date: 2010-11-01 13:34:24 -0700 (Mon, 01 Nov 2010)
New Revision: 7972

Modified:
   pcbsd/current/src-qt4/pc-cupscfg/pc-cupscfg
Log:

Switch us to using system-config-printer for printer config backend, auto-discovers fine here



Modified: pcbsd/current/src-qt4/pc-cupscfg/pc-cupscfg
===================================================================
--- pcbsd/current/src-qt4/pc-cupscfg/pc-cupscfg	2010-11-01 20:26:44 UTC (rev 7971)
+++ pcbsd/current/src-qt4/pc-cupscfg/pc-cupscfg	2010-11-01 20:34:24 UTC (rev 7972)
@@ -1,15 +1,7 @@
 #!/bin/sh
-# Check for various browsers, and bring up the cups configuration
+# Bring up the default printer config application
 # License: BSD
 
 user=$1
-browser="firefox firefox3 chrome opera konqueror epiphany midori"
 
-for i in $browser
-do
-	which $i >/dev/null 2>/dev/null
-	if [ "$?" = "0" ] ; then 
-		${i} "http://localhost:631"
-		break
-	fi
-done
+system-config-printer



More information about the Commits mailing list