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