comment_uptrack

This commit is contained in:
Milan Meduna 2019-10-19 21:07:52 +02:00
parent 456f7ab71a
commit 445f459e2b

View file

@ -197,22 +197,22 @@ read -p "Done, press any key to return to main menu"
main_menu main_menu
} }
install_uptrack () { #install_uptrack () {
cd /tmp #cd /tmp
wget https://ksplice.oracle.com/uptrack/dist/disco/ksplice-uptrack.deb #wget https://ksplice.oracle.com/uptrack/dist/disco/ksplice-uptrack.deb
apt install libgtk2-perl dbus-x11 libglade2-0 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python-cairo python-dbus python-gi python-glade2 python-gobject-2 python-gtk2 python-minimal python-pycurl python-yaml python2.7 python2.7-minimal -y #apt install libgtk2-perl dbus-x11 libglade2-0 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python-cairo python-dbus python-gi python-glade2 python-gobject-2 python-gtk2 python-minimal python-pycurl python-yaml python2.7 python2.7-minimal -y
dpkg -i ksplice-uptrack.deb #dpkg -i ksplice-uptrack.deb
read -p "Done, press any key to return to main menu" #read -p "Done, press any key to return to main menu"
echo "NOT WORKING" #echo "NOT WORKING"
main_menu #main_menu
} #}
main_menu () { main_menu () {
cmd=(dialog --nocancel --menu "Welcome in setup-lxd-mm!" 22 76 16) cmd=(dialog --nocancel --menu "Welcome in setup-lxd-mm!" 22 76 16)
options=( options=(
1 "Pre-reboot script" 1 "Pre-reboot script"
2 "Post-reboot script" 2 "Post-reboot script"
3 "Install uptrack-upgrade" # 3 "Install uptrack-upgrade"
) )
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
@ -229,9 +229,9 @@ main_menu () {
post_reboot_script post_reboot_script
;; ;;
3) # 3)
install_uptrack # install_uptrack
;; # ;;
esac esac
done done