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
}
#install_uptrack () {
#cd /tmp
#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
#dpkg -i ksplice-uptrack.deb
#read -p "Done, press any key to return to main menu"
#echo "NOT WORKING"
#main_menu
#}
install_uptrack () {
cd /tmp
wget https://ksplice.oracle.com/uptrack/dist/eoan/uptrack.deb
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 uptrack.deb
uptrack-upgrade -y
read -p "Done, press any key to return to main menu"
main_menu
}
main_menu () {
cmd=(dialog --nocancel --menu "Welcome in setup-lxd-mm!" 22 76 16)
options=(
1 "Pre-reboot script"
2 "Post-reboot script"
# 3 "Install uptrack-upgrade"
3 "Install uptrack-upgrade"
)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
@ -232,9 +232,9 @@ main_menu () {
post_reboot_script
;;
# 3)
# install_uptrack
# ;;
3)
install_uptrack
;;
esac
done