summaryrefslogtreecommitdiffstats
path: root/autocluster
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-06-20 14:30:40 +1000
committerMartin Schwenke <martin@meltin.net>2014-06-25 20:46:16 +1000
commit565c0b5f2d67cd8a7a057909ff62903bf158b226 (patch)
tree7398b1d86004a467872511e8fc04a1affa7a56e8 /autocluster
parent64d3ac6d14fa967709e8078ec0fbe157b1f024bc (diff)
downloadautocluster-565c0b5f2d67cd8a7a057909ff62903bf158b226.tar.gz
autocluster-565c0b5f2d67cd8a7a057909ff62903bf158b226.tar.xz
autocluster-565c0b5f2d67cd8a7a057909ff62903bf158b226.zip
Remove remainder of unused --with-release code
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'autocluster')
-rwxr-xr-xautocluster10
1 files changed, 1 insertions, 9 deletions
diff --git a/autocluster b/autocluster
index 81edcf9..655f049 100755
--- a/autocluster
+++ b/autocluster
@@ -1152,13 +1152,6 @@ usage_config_options (){
usage_smart_display load_config
}
-list_releases () {
- local releases=$(cd $installdir/releases && echo *.release)
- releases="${releases//.release}"
- releases="${releases// /\", \"}"
- echo "\"$releases\""
-}
-
######################################################################
post_config_hooks=
@@ -1170,7 +1163,7 @@ load_config
############################
# parse command line options
long_opts=$(getopt_config_options)
-getopt_output=$(getopt -n autocluster -o "c:e:E:xh" -l help,dump,with-release: -l "$long_opts" -- "$@")
+getopt_output=$(getopt -n autocluster -o "c:e:E:xh" -l help,dump -l "$long_opts" -- "$@")
[ $? != 0 ] && usage
use_default_config=true
@@ -1184,7 +1177,6 @@ while true ; do
-e) shift 2 ;;
-E) shift 2 ;;
--) shift ; break ;;
- --with-release) shift 2 ;; # Don't set use_default_config=false!!!
--dump|-x) shift ;;
-h|--help) usage ;; # Usage should be shown here for real defaults.
--*) shift 2 ;; # Assume other long opts are valid and take an arg.