diff --git a/ishare2 b/ishare2 index 30f3886..2d7f401 100644 --- a/ishare2 +++ b/ishare2 @@ -26,6 +26,7 @@ function set_url_constants() { URL_UPGRADE_PNETLAB_FROM_any_TO_5_2_9=https://raw.githubusercontent.com/pnetlabrepo/ishare2/main/upgrades/from_any_to_5.2.9/upgrade.sh URL_UPGRADE_PNETLAB_FROM_any_TO_5_3_0=https://raw.githubusercontent.com/pnetlabrepo/ishare2/main/upgrades/from_any_to_5.3.0/upgrade.sh URL_UPGRADE_PNETLAB_FROM_any_TO_5_3_2=https://raw.githubusercontent.com/pnetlabrepo/ishare2/main/upgrades/from_any_to_5.3.2/upgrade.sh + URL_UPGRADE_PNETLAB_FROM_any_TO_5_3_4=https://raw.githubusercontent.com/pnetlabrepo/ishare2/main/upgrades/from_any_to_5.3.4/upgrade.sh URL_GUI_APP_ZIP=https://raw.githubusercontent.com/pnetlabrepo/ishare2/main/gui/app.zip URL_REQUIREMENTS_GUI_APP=https://raw.githubusercontent.com/pnetlabrepo/ishare2/main/gui/requirements.txt URL_ISHARE2_GUI_VERSION=https://raw.githubusercontent.com/pnetlabrepo/ishare2/main/gui/version_gui @@ -972,6 +973,7 @@ function menu_ishare2_upgrade_pnetlab() { "Upgrade PNETLab: from any version to 5.2.9" "Upgrade PNETLab: from any version to 5.3.0" "Upgrade PNETLab: from any version to 5.3.2" + "Upgrade PNETLab: from any version to 5.3.4" ) PS3="$prompt" @@ -1019,11 +1021,17 @@ function menu_ishare2_upgrade_pnetlab() { bash upgrade.sh break ;; + 8) + wget -O upgrade.sh $URL_UPGRADE_PNETLAB_FROM_any_TO_5_3_4 > /dev/null 2>&1 + chmod +x upgrade.sh + bash upgrade.sh + break + ;; $((${#options[@]}+1))) break ;; *) - STR="Invalid option: Select a number from 1 to 8" + STR="Invalid option: Select a number from 1 to 9" echo -e "${RED}$STR${NO_COLOR}" continue ;;