Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adjust the pc-cupscfg script so that it will actively link/unlink the…

… HPLIP ppd files into the CUPS database before starting the GUI.
  • Loading branch information...
commit 29ca14763c27770aebc47af9c363cfec5c81eaa1 1 parent 68b1db6
@beanpole135 beanpole135 authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 src-qt4/pc-cupscfg/pc-cupscfg
View
6 src-qt4/pc-cupscfg/pc-cupscfg
@@ -2,6 +2,12 @@
# Bring up the default printer config application
# License: BSD
+#Check if the HPLIP ppd files are also available, and link them into the CUPS database
+if [ -e /usr/local/share/ppd/HP ]; then
+ ln -sf /usr/local/share/ppd/HP /usr/local/share/cups/model/HPLIP
+elif [ -e /usr/local/share/cups/model/HPLIP ]; then
+ rm /usr/local/share/cups/model/HPLIP
+fi
user=$1
system-config-printer
Please sign in to comment.
Something went wrong with that request. Please try again.