summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2001-09-15 20:21:15 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2001-09-15 20:21:15 +0000
commit5c9a77b9408ded330cf00b68783cd33fa4132b66 (patch)
treea707fe2fd904dec09bd616df9b29af077cfb22ca /perl-install/printerdrake.pm
parent725e01513324f031fed590a7507643ea030a40b7 (diff)
downloaddrakx-5c9a77b9408ded330cf00b68783cd33fa4132b66.tar
drakx-5c9a77b9408ded330cf00b68783cd33fa4132b66.tar.gz
drakx-5c9a77b9408ded330cf00b68783cd33fa4132b66.tar.bz2
drakx-5c9a77b9408ded330cf00b68783cd33fa4132b66.tar.xz
drakx-5c9a77b9408ded330cf00b68783cd33fa4132b66.zip
Added the PDQ panic button.
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r--perl-install/printerdrake.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm
index 89f44061d..fbe5ca831 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -1429,6 +1429,8 @@ sub install_spooler {
printer::set_alternative("cancel","/usr/bin/cancel-cups");
printer::set_alternative("lpstat","/usr/bin/lpstat-cups");
printer::set_alternative("lpc","/usr/sbin/lpc-cups");
+ # Remove PDQ panic buttons from the user's KDE Desktops
+ printer::pdq_panic_button("remove");
} elsif ($printer->{SPOOLER} eq "lpd") {
# "lpr" conflicts with "LPRng", remove "LPRng"
if ((!$::testing) &&
@@ -1454,6 +1456,8 @@ sub install_spooler {
printer::set_alternative("lpq","/usr/bin/lpq-lpd");
printer::set_alternative("lprm","/usr/bin/lprm-lpd");
printer::set_alternative("lpc","/usr/sbin/lpc-lpd");
+ # Remove PDQ panic buttons from the user's KDE Desktops
+ printer::pdq_panic_button("remove");
} elsif ($printer->{SPOOLER} eq "lprng") {
# "LPRng" conflicts with "lpr", remove "lpr"
if ((!$::testing) &&
@@ -1482,6 +1486,8 @@ sub install_spooler {
printer::set_alternative("cancel","/usr/bin/cancel-lpd");
printer::set_alternative("lpstat","/usr/bin/lpstat-lpd");
printer::set_alternative("lpc","/usr/sbin/lpc-lpd");
+ # Remove PDQ panic buttons from the user's KDE Desktops
+ printer::pdq_panic_button("remove");
} elsif ($printer->{SPOOLER} eq "pdq") {
if ((!$::testing) &&
(!printer::files_exist((qw(/usr/bin/pdq
@@ -1494,6 +1500,8 @@ sub install_spooler {
printer::set_alternative("lpr","/usr/bin/lpr-pdq");
printer::set_alternative("lpq","/usr/bin/lpq-foomatic");
printer::set_alternative("lprm","/usr/bin/lprm-foomatic");
+ # Add PDQ panic buttons to the user's KDE Desktops
+ printer::pdq_panic_button("add");
}
}
1;