summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-04-24 15:17:27 +0000
committererdgeist <erdgeist@erdgeist.org>2006-04-24 15:17:27 +0000
commit3dcfaa042c30cd4cf3ef4a97b8fd848ccde34c33 (patch)
tree0714d778fc8c1e3bb6511f26fd53ec8dcdbf5100 /ezjail-admin
parent5774feff88560ff1317cca011edce49c9d0355fa (diff)
Install will confirm release version for any non -RELEASE version now
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin6
1 files 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)
456 ezjail_dir=${ezjail_ftphost#file://} 456 ezjail_dir=${ezjail_ftphost#file://}
457 [ "${ezjail_dir%%[!/]*}" ] || ezjail_reldir=${PWD} 457 [ "${ezjail_dir%%[!/]*}" ] || ezjail_reldir=${PWD}
458 458
459 # ftp servers normally wont provide CURRENT-builds 459 # ftp servers normally wont provide non-RELEASE-builds
460 if [ -z "${ezjail_release}" ]; then 460 if [ -z "${ezjail_release}" ]; then
461 ezjail_release=`uname -r` 461 ezjail_release=`uname -r`
462 if [ "${ezjail_release%CURRENT}" != "${ezjail_release}" -a "${ezjail_dir}" = "${ezjail_ftphost}" ]; then 462 if [ "${ezjail_release%-RELEASE}" != "${ezjail_release}" -a "${ezjail_dir}" = "${ezjail_ftphost}" ]; then
463 echo "Your system is ${ezjail_release}. Normally FTP-servers don't provide CURRENT-builds." 463 echo "Your system is ${ezjail_release}. Normally FTP-servers don't provide non-RELEASE-builds."
464 echo -n "Release [ ${ezjail_release} ]: " 464 echo -n "Release [ ${ezjail_release} ]: "
465 read ezjail_releasetmp 465 read ezjail_releasetmp
466 [ "${ezjail_releasetmp}" ] && ezjail_release=${ezjail_releasetmp} 466 [ "${ezjail_releasetmp}" ] && ezjail_release=${ezjail_releasetmp}