From 3dcfaa042c30cd4cf3ef4a97b8fd848ccde34c33 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Mon, 24 Apr 2006 15:17:27 +0000 Subject: Install will confirm release version for any non -RELEASE version now --- ezjail-admin | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ezjail-admin b/ezjail-admin index 4f1a1ff..69388af 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -456,11 +456,11 @@ install) ezjail_dir=${ezjail_ftphost#file://} [ "${ezjail_dir%%[!/]*}" ] || ezjail_reldir=${PWD} - # ftp servers normally wont provide CURRENT-builds + # ftp servers normally wont provide non-RELEASE-builds if [ -z "${ezjail_release}" ]; then ezjail_release=`uname -r` - if [ "${ezjail_release%CURRENT}" != "${ezjail_release}" -a "${ezjail_dir}" = "${ezjail_ftphost}" ]; then - echo "Your system is ${ezjail_release}. Normally FTP-servers don't provide CURRENT-builds." + if [ "${ezjail_release%-RELEASE}" != "${ezjail_release}" -a "${ezjail_dir}" = "${ezjail_ftphost}" ]; then + echo "Your system is ${ezjail_release}. Normally FTP-servers don't provide non-RELEASE-builds." echo -n "Release [ ${ezjail_release} ]: " read ezjail_releasetmp [ "${ezjail_releasetmp}" ] && ezjail_release=${ezjail_releasetmp} -- cgit v1.2.3