From be02692c9605672094eed3040167044a26e8412a Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Mon, 8 Sep 2003 03:07:42 +0000 Subject: Show an error message if saned could not be installed. --- perl-install/standalone/scannerdrake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone') 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 -- cgit v1.2.1