From 0f7a1cd43c81b09039534c03074925671a50ab9b Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 4 Jun 2006 14:08:36 +0000 Subject: Don't go interactive when the OS can't be detected. --- sysutils/webmin/distinfo | 3 ++- sysutils/webmin/patches/patch-ab | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 sysutils/webmin/patches/patch-ab diff --git a/sysutils/webmin/distinfo b/sysutils/webmin/distinfo index 1fd397d92d0..eccc689f0f8 100644 --- a/sysutils/webmin/distinfo +++ b/sysutils/webmin/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.8 2006/05/19 17:22:18 jlam Exp $ +$NetBSD: distinfo,v 1.9 2006/06/04 14:08:36 joerg Exp $ SHA1 (webmin-1.270-minimal.tar.gz) = 31fa4cf18205a0dac74e38290a03950450abae26 RMD160 (webmin-1.270-minimal.tar.gz) = 94847d56eb9aebefc234178656dc53daa3af91c6 Size (webmin-1.270-minimal.tar.gz) = 1301974 bytes SHA1 (patch-aa) = c643cb0f568629288584902b942c792652cc366e +SHA1 (patch-ab) = 5d91a836b0f1dd51feeda60db7c864c4e93d5c3c SHA1 (patch-ac) = 12c133cb1beefd2614f4caa15cc2b29cd1721efa diff --git a/sysutils/webmin/patches/patch-ab b/sysutils/webmin/patches/patch-ab new file mode 100644 index 00000000000..8cb9400b89e --- /dev/null +++ b/sysutils/webmin/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.3 2006/06/04 14:08:36 joerg Exp $ + +--- oschooser.pl.orig 2006-06-04 14:02:49.000000000 +0000 ++++ oschooser.pl +@@ -107,6 +107,8 @@ if (!$auto) { + } + else { + # ask for the operating system name ourselves ++ print "Automatic OS detection failed"; ++ exit 9; # Be non-interactive under all circumstances. + $dashes = "-" x 75; + print <