daily pastebin goal
32%
SHARE
TWEET

Untitled

a guest Oct 19th, 2010 26 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. menuselect=`/usr/bin/zenity --title="Please select a language" --width=400 --height=200 \
  2.                             --text="Select:" \
  3.                             --list --column="Selected" --column="Task" --column="Language" \
  4.                             --radiolist TRUE    Clean   "Remove temporary downloaded files" FALSE software "Add extra software"   `
  5.  
  6.  
  7. if [ $? -eq 0 ];
  8. then
  9.         IFS="|"
  10.         for menuSselect in $menuselect
  11.         do
  12.                if [ "$menuSselect" = "clean" ];
  13.                      then
  14.                      ~/prog/tools/clean.sh
  15.                  elif [ "$menuSselect" = "software" ];
  16.                      then      
  17.                      ~/prog/tools/software.sh  
  18.                    
  19.                fi
  20.         done
  21.         IFS=""
  22.        
  23. else
  24.        
  25.         exit
  26. fi
RAW Paste Data
Top