Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- menuselect=`/usr/bin/zenity --title="Please select an option from the list below " --width=400 --height=200 \
- --text="Select:" \
- --list --column="Selected" --column="Task" --column="Description" \
- --radiolist TRUE clean "Remove temporary downloaded files" FALSE add "Add extra software Sources" FALSE install "installl software from other sources" `
- if [ $? -eq 0 ];
- then
- for menuSselect in $menuselect
- do
- if [ "$menuselect" = "clean" ];
- then
- $HOME/Downloads/prog/tools/clean.sh
- elif [ "$menuselect" = "add" ];
- then
- $HOME/Downloads/prog/tools/repos.sh
- elif [ "$menuselect" = "install" ];
- then
- $HOME/Downloads/prog/tools/installer.sh
- fi
- done
- elif [ $? -eq 1 ]; then
- zenity --info --title="Aborted" --text="Programme closed";
- exit
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement