summaryrefslogtreecommitdiff
path: root/debian/foomatic-filters.config
diff options
context:
space:
mode:
authorDidier Raboud <didier@raboud.com>2010-07-19 16:18:27 +0200
committerDidier Raboud <didier@raboud.com>2010-07-19 16:25:08 +0200
commit05f115dd175ce9d6140afb91a3a5fa4af10c1820 (patch)
treec3e161653eaa51076940568f1eaf4cee5e5a0b4c /debian/foomatic-filters.config
parentf6cbd7b1928e4e6a5209ab8007f5f11d8ad29ec7 (diff)
s/cupsys/cups/ everywhere
Diffstat (limited to 'debian/foomatic-filters.config')
-rw-r--r--debian/foomatic-filters.config4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/foomatic-filters.config b/debian/foomatic-filters.config
index 2e5bfd9..b541591 100644
--- a/debian/foomatic-filters.config
+++ b/debian/foomatic-filters.config
@@ -33,7 +33,7 @@ if [ -f /etc/foomatic/defaultspooler ]; then
else
# Try to detect from installed packages; use the one found first in
# the list
- spooler=`dpkg-query --showformat='${Package} ${Status}' -W cupsys lpr lprng rlpr lpr-ppd pdq ppr 2>/dev/null | grep ' installed$' | cut -d' ' -f1 | head -1`
+ spooler=`dpkg-query --showformat='${Package} ${Status}' -W cups cupsys lpr lprng rlpr lpr-ppd pdq ppr 2>/dev/null | grep ' installed$' | cut -d' ' -f1 | head -1`
if [ "$spooler" = cupsys ]; then
spooler=cups
elif [ "$spooler" = lpr-ppd -o "$spooler" = lpr -o "$spooler" = rlpr ]; then
@@ -45,7 +45,7 @@ else
# This script may be run before dpkg gets around to installing
# a spooler if it is done in the same apt run, so see if anything
# is in the "install" state.
- spooler=`dpkg-query --showformat='${Package} ${Status}' -W cupsys lpr lprng rlpr lpr-ppd pdq ppr 2>/dev/null | grep ' install ' | cut -d' ' -f1 | head -1`
+ spooler=`dpkg-query --showformat='${Package} ${Status}' -W cups cupsys lpr lprng rlpr lpr-ppd pdq ppr 2>/dev/null | grep ' install ' | cut -d' ' -f1 | head -1`
if [ "$spooler" = "cupsys" ]; then
spooler=cups
elif [ "$spooler" = lpr-ppd -o "$spooler" = lpr -o "$spooler" = rlpr ]; then