#!/bin/sh # by Chris_(medico_2001) # for Klikit-Linux # GPL - June 2007 xterm -e sudo killall synaptic apt-get dpkg adept export XDIALOG_HIGH_DIALOG_COMPAT=1 DIALOG=Xdialog DIA=Xdialog clear $DIALOG --title "Klikit-Linux Wizard" \ --backtitle " Install the msttcorefonts package " \ --radiolist "This wizard allows for easy installation of the Microsoft True Type Core Fonts for the Web including: Andale Mono, Arial Black, Arial (Bold, Italic, Bold Italic), Comic Sans MS (Bold), Courier New (Bold, Italic, Bold Italic), Georgia (Bold, Italic, Bold Italic), Impact, Times New Roman (Bold, Italic, Bold Italic), Trebuchet (Bold, Italic, Bold Italic), Verdana (Bold, Italic, Bold Italic), Webdings\n You will need an Internet connection to download these fonts \n IMPORTANT: Installing this package implies that you read the EULA and have accepted it.\n" 40 75 0 \ "Install" "Install the msttcorefonts package" on \ "License" "read the EULA" off \ "Remove" "Remove the msttcorefonts package after installation" off \ "Exit" "Close this wizard" off 2> /tmp/checklist.tmp.$$ retval=$? if [ $retval = 1 ]; then exit 0 fi choice=`cat /tmp/checklist.tmp.$$` rm -f /tmp/checklist.tmp.$$ # ----------------------------------- if [ "$choice" = "Install" ]; then xterm -e sudo apt-get install msttcorefonts kdialog --title="klikit info" --msgbox "the msttcorefonts package was successfully installed" fi # ----------------------------------- if [ "$choice" = "Remove" ]; then xterm -e sudo dpkg -P msttcorefonts kdialog --title="klikit info" --msgbox "the msttcorefonts package was successfully removed" fi # ----------------------------------- if [ "$choice" = "License" ]; then firefox http://www.microsoft.com/typography/fontpack/eula.htm sh ~/Desktop/START_HERE/Install_msttcorefonts fi # ----------------------------------- if [ "$choice" = "Exit" ]; then exit 0 fi exit 0