source: src-qt4/pc-cupscfg/pc-cupscfg @ 29ca147

releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since 29ca147 was 29ca147, checked in by Ken Moore <ken@…>, 7 months ago

Adjust the pc-cupscfg script so that it will actively link/unlink the HPLIP ppd files into the CUPS database before starting the GUI.

  • Property mode set to 100755
File size: 395 bytes
Line 
1#!/bin/sh
2# Bring up the default printer config application
3# License: BSD
4
5#Check if the HPLIP ppd files are also available, and link them into the CUPS database
6if [ -e /usr/local/share/ppd/HP ]; then
7  ln -sf /usr/local/share/ppd/HP /usr/local/share/cups/model/HPLIP
8elif [ -e /usr/local/share/cups/model/HPLIP ]; then
9  rm /usr/local/share/cups/model/HPLIP
10fi
11user=$1
12
13system-config-printer
Note: See TracBrowser for help on using the repository browser.