#!/bin/bash
# @(#) customize my Ubunto setup
export HOME=/host/cygwin/home/urbanjs/V600
for DIR in /host/cygwin/home/urbanjs/.twm/scripts_*
do
PATH=$PATH:/$DIR
done
PATH=$HOME/scripts:$PATH
PATH=$PATH:$HOME/bin/`system -r`
PATH=$PATH:$HOME/bin/`system -r`/TEST
PATH=$PATH:$HOME/bin/`system -r`/EXAMPLES
if [ "$DISPLAY" != '' ]
then
esc -xrdb
xterm &
xterm &
fi
############################################################################
# UBUNTO UPDATE
[ ! -x "$(which screen)     2>/dev/null" ] && sudo apt-get install screen
[ ! -x "$(which  ctwm)      2>/dev/null" ] && sudo apt-get install ctwm
[ ! -x "$(which  ksh)       2>/dev/null" ] && sudo apt-get install ksh
[ ! -x "$(which  git)       2>/dev/null" ] && sudo apt-get install git
[ ! -x "$(which  gfortran)  2>/dev/null" ] && sudo apt-get install gfortran
[ ! -x "$(which  w3m)       2>/dev/null" ] && sudo apt-get install w3m
[ ! -x "$(which  lynx)      2>/dev/null" ] && sudo apt-get install lynx
[ ! -x "$(which  display)   2>/dev/null" ] && sudo apt-get install imagmagick
[ ! -x "$(which  enscript)  2>/dev/null" ] && sudo apt-get install enscript
[ ! -x "$(which  a2ps)      2>/dev/null" ] && sudo apt-get install a2ps
[ ! -x "$(which  vim)       2>/dev/null" ] && sudo apt-get install vim   # for vimdiff
[ ! -x "$(which  wxpaste)   2>/dev/null" ] && sudo apt-get install wmaker  # for wxpaste, wxcut
[ ! -x "$(which  doxygen)   2>/dev/null" ] && sudo apt-get install doxygen
[ ! -x "$(which  curl)      2>/dev/null" ] && sudo apt-get install curl
[ ! -x "$(which  tidy)      2>/dev/null" ] && sudo apt-get install tidy
[ ! -x "$(which  wnb)       2>/dev/null" ] && sudo apt-get install wordnet-gui
[ ! -x "$(which  xpdf)      2>/dev/null" ] && sudo apt-get install xpdf
[ ! -x "$(which  gv)        2>/dev/null" ] && sudo apt-get install gv
[ ! -x "$(which  uuencode   2>/dev/null" ] && sudo apt-get install sharutils
############################################################################
sudo apt-get install flashplugin-installer
sudo apt-get google-chrome-stable
############################################################################
# MISSING xlib.h in ubunto
# You can use
# http://packages.ubuntu.com
# to search for packages containing the file you need. For example your file
# is contained in the package "libx11-dev" so you might have to execute:
#    sudo apt-get install libx11-dev
############################################################################
