eoan_uptrack_add

This commit is contained in:
Milan Meduna 2019-11-02 18:46:28 +01:00
parent 7f71201f69
commit 9637bfd296

View file

@ -200,22 +200,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/eoan/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 python3-pycurl 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 uptrack.deb
#read -p "Done, press any key to return to main menu" uptrack-upgrade -y
#echo "NOT WORKING" read -p "Done, press any key to return to main menu"
#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)
@ -232,9 +232,9 @@ main_menu () {
post_reboot_script post_reboot_script
;; ;;
# 3) 3)
# install_uptrack install_uptrack
# ;; ;;
esac esac
done done