summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}