Initial commit
This is the whole code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23#!/bin/bash run_kons() { konsole --hold \ -p TerminalColumns=160 \ -p TerminalRows=40 \ -e /bin/bash -c "$*;echo $'\n\e[0;34m'Done" } choice=$(kdialog --title "Updates" \ --separate-output \ --checklist "Update options:" \ 1 "List upgradable packages" off \ 2 "Update database only" off \ 3 "Update database and install packages" off \ 4 "Search for packages" off \ 5 "Search for packages - with details" off \ 6 "Exit"...
This is the whole code: #!/bin/bash run_kons() { konsole --hold \ -p TerminalColumns=160 \ -p TerminalRows=40 \ -e /bin/bash -c "$*;echo $'\n\e[0;34m'Done" } choice=$(kdialog --title "Updates" \ --separate-output \ --checklist "Update options:" \ 1 "List upgradable packages" off \ 2 "Update database only" off \ 3 "Update database and install packages" off \ 4 "Search for packages" off \ 5 "Search for packages - with details" off \ 6 "Exit" off) case $choice in 1) run_kons "apt list --upgradable"...
It's really very simple. Just make the script executable and run it.