summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-05-17 12:59:52 +0000
committererdgeist <erdgeist@erdgeist.org>2006-05-17 12:59:52 +0000
commit0daab71ac09d2f87ec45d126658d5dd5bdc1bdb5 (patch)
tree0008b08156f2065505c334cd4e8187a446c6b232
parent18a85963595bc4aec2c008b3e2c348fbd04a8cb7 (diff)
-STABLE translated to -RELEASE, check for -RELEASE corrected
-rwxr-xr-xezjail-admin3
1 files changed, 2 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index db4a19f..8158049 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -507,7 +507,8 @@ install)
507 # ftp servers normally wont provide non-RELEASE-builds 507 # ftp servers normally wont provide non-RELEASE-builds
508 if [ -z "${ezjail_release}" ]; then 508 if [ -z "${ezjail_release}" ]; then
509 ezjail_release=`uname -r` 509 ezjail_release=`uname -r`
510 if [ "${ezjail_release%-RELEASE}" != "${ezjail_release}" -a "${ezjail_dir}" = "${ezjail_ftphost}" ]; then 510 case ${ezjail_release} in *-STABLE) ezjail_release="${ezjail_release%-STABLE}-RELEASE";; esac
511 if [ "${ezjail_release%-RELEASE}" = "${ezjail_release}" -a "${ezjail_dir}" = "${ezjail_ftphost}" ]; then
511 echo "Your system is ${ezjail_release}. Normally FTP-servers don't provide non-RELEASE-builds." 512 echo "Your system is ${ezjail_release}. Normally FTP-servers don't provide non-RELEASE-builds."
512 echo -n "Release [ ${ezjail_release} ]: " 513 echo -n "Release [ ${ezjail_release} ]: "
513 read ezjail_releasetmp 514 read ezjail_releasetmp