summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2003-09-08 03:07:42 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2003-09-08 03:07:42 +0000
commitbe02692c9605672094eed3040167044a26e8412a (patch)
treea6a9b626840e77e208f0cbf0df107caa942c026c /perl-install
parent46067f935cbb0ac99449fe2eac7d72acec2e2065 (diff)
downloaddrakx-backup-do-not-use-be02692c9605672094eed3040167044a26e8412a.tar
drakx-backup-do-not-use-be02692c9605672094eed3040167044a26e8412a.tar.gz
drakx-backup-do-not-use-be02692c9605672094eed3040167044a26e8412a.tar.bz2
drakx-backup-do-not-use-be02692c9605672094eed3040167044a26e8412a.tar.xz
drakx-backup-do-not-use-be02692c9605672094eed3040167044a26e8412a.zip
Show an error message if saned could not be installed.
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/scannerdrake6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/standalone/scannerdrake b/perl-install/standalone/scannerdrake
index 679a34641..6f3a1b0e7 100755
--- a/perl-install/standalone/scannerdrake
+++ b/perl-install/standalone/scannerdrake
@@ -755,7 +755,11 @@ sub sharewindow {
# running
if (!files_exist('/usr/sbin/xinetd',
'/usr/sbin/saned')) {
- $in->do_pkgs->install('xinetd', 'saned');
+ if (!$in->do_pkgs->install('xinetd', 'saned')) {
+ $in->ask_warn(N("Scannerdrake"),
+ N("Could not install the packages needed to share your scanner(s).") . " " .
+ N("Your scanner(s) will not be available on the network."));
+ }
}
# Start saned and make sure that it gets started on
# every boot