Skip to content

Commit

Permalink
menu updates for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Admin0705 committed Jul 5, 2018
1 parent c2351dc commit 136fe3c
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions menus/version/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
echo 'INFO - @PG Version Selection Menu' > /var/plexguide/pg.log && bash /opt/plexguide/scripts/log.sh

export NCURSES_NO_UTF8_ACS=1
clear

HEIGHT=18
WIDTH=33
Expand Down Expand Up @@ -47,39 +46,6 @@ CHOICE=$(dialog --clear \

clear
case $CHOICE in
00)
echo 'INFO - Selected to Upgrade PG to DEV Edition' > /var/plexguide/pg.log && bash /opt/plexguide/scripts/log.sh

version="Developer"

file="/var/plexguide/ask.yes"
if [ -e "$file" ]
then
touch /var/plexguide/ask.yes 1>/dev/null 2>&1
if ! dialog --stdout --title "Version User Confirmation" \
--backtitle "Visit https://PlexGuide.com - Automations Made Simple" \
--yesno "\nDo You Want Install Version - $version?" 7 50; then
dialog --title "PG Update Status" --msgbox "\nExiting! User selected to NOT Install!" 0 0
clear
sudo bash /opt/plexguide/scripts/message/ending.sh
exit 0
else
clear
fi

else
clear
fi
touch /var/plexguide/ask.yes 1>/dev/null 2>&1
mv /opt/plexguide/scripts/docker-no/upgrade2.sh /tmp
cd /tmp
bash /tmp/upgrade2.sh
touch /var/plexguide/ask.yes 1>/dev/null 2>&1

dialog --title "PG Application Status" --msgbox "\nUpgrade Complete - Version $version!" 0 0
clear
sudo bash /opt/plexguide/scripts/message/ending.sh
exit 0 ;;
Z)
bash /opt/plexguide/roles/main.sh
echo 'INFO - Selected: Exit Upgrade Menu' > /var/plexguide/pg.log && bash /opt/plexguide/scripts/log.sh
Expand Down

0 comments on commit 136fe3c

Please sign in to comment.