From 01c79bd59d87f8ce6f9a3dacb1f6b02c85780e9b Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 17 Nov 2012 21:58:55 +0000 Subject: Fixed a bug where ezjail-admin install would indicate a failure after successfully installing the base --- ezjail-admin | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ezjail-admin') diff --git a/ezjail-admin b/ezjail-admin index fc5bc74..9586cc9 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -1067,6 +1067,7 @@ install) fetch "${ezjail_proto}://${ezjail_disturi}/${ezjail_path}/${ezjail_installplatform}/${ezjail_installarch}/${ezjail_release}/${pkg}.txz" || continue xzdec ${pkg}.txz | tar --unlink -xpJf - -C ${DESTDIR} else + [ "${ezjail_proto}" = "ftp" ] || echo "Warning: Ignoring http protocol on FreeBSD pre 9.0" ftp ${ezjail_disturi}:${ezjail_path}/${ezjail_installarch}/${ezjail_release}/${pkg}/* || continue # These actions are really ugly: sources want $1 to contain the set # of sources to install, base asks the user if he is sure, hence the @@ -1078,6 +1079,7 @@ install) fi rm -rf "${ezjail_jailtemp}" + break done fi done -- cgit v1.2.3