aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-05-13 18:15:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-05-13 18:15:58 -0300
commit3202e78ea8b480c1d0b93500f528388582cc31a3 (patch)
tree08f782862fab1230eed4078b16c632195d197043
parent86ec2f5c0970c13a8e31f4b3e9288682133d300c (diff)
downloadhydra-3202e78ea8b480c1d0b93500f528388582cc31a3.tar.gz
hydra-3202e78ea8b480c1d0b93500f528388582cc31a3.tar.bz2
Adds debian stretch as a next release
-rw-r--r--lib/hydra/misc4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/hydra/misc b/lib/hydra/misc
index 0abff2d..4275021 100644
--- a/lib/hydra/misc
+++ b/lib/hydra/misc
@@ -23,7 +23,7 @@ function hydra_user_input {
read -s -rep "$* (defaults to $default): " input
else
read -rep "$* (defaults to $default): " input
- fi
+ fi
if [ -z "$input" ]; then
export $param="$default"
@@ -118,6 +118,8 @@ function hydra_next_debian_release {
echo "wheezy"
elif [ "$release" == "wheezy" ]; then
echo "jessie"
+ elif [ "$release" == "jessie" ]; then
+ echo "stretch"
else
echo "Unsupported release"
exit 1