summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2019-07-24 11:48:49 +0200
committerIrina Gómez <irinagomez@us.es>2019-07-24 11:48:49 +0200
commit9345a1f2b209ac1b2a9bb8d162994d460a9b1968 (patch)
treee7865efa6080cb8bfd3bf172efd84e110c4dae95
parent9e0f6c9c07cc657ee5aaab21974f8fd96bb912ce (diff)
opengnys_installer.sh: fix error whereby the script failed to try to install an ogLive that does not exist.
-rwxr-xr-xinstaller/opengnsys_installer.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh
index 0634ea34..e84f071a 100755
--- a/installer/opengnsys_installer.sh
+++ b/installer/opengnsys_installer.sh
@@ -105,11 +105,11 @@ function userData ()
echo -n -e "Please, type a valid number (1): "
read -r OPT
case "$OPT" in
- 1|"") OGLIVE="ogLive-bionic-5.0.0-15-generic-amd64-r20190515.97b8472.iso "
+ 1|"") OGLIVE="$DEFAULT_OGLIVE"
break ;;
2) OGLIVE="ogLive-precise-3.2.0-23-generic-r5159.iso"
break ;;
- 3) OGLIVE="ogLive-bionic-5.0.0-15-generic-amd64-r20190515.97b8472.iso ogLive-precise-3.2.0-23-generic-r5159.iso";
+ 3) OGLIVE=" $DEFAULT_OGLIVE ogLive-precise-3.2.0-23-generic-r5159.iso";
break ;;
*) echo -e "\\aERROR: unknown option, try again."
esac