#!/bin/sh echo Cleaning VL4.0 for SOHO 4.0 echo this will remove several packages !!! echo though some will be upgraded echo CLEAN-VL4: `date` > clean-vl4.log doclean() { echo -n Cleaning $1 ... echo --------------------------------------------------------------- >> clean-vl4.log removepkg $1 >> clean-vl4.log if [ $? = 0 ]; then echo OK else echo FAILED fi } doclean abi doclean xmms doclean bluefish # Firebird in VL4 was a manual installation ! # doclean firebird rm -rf /usr/X11R6/lib/MozillaFirebird rm -rf /usr/X11R6/bin/firebird doclean dillo doclean gaim #doclean sylpheed-0.9.4 #doclean gkdial #doclean gftp # Uncomplete scribush ! doclean scribush doclean xfce # icewm & unregistered styles doclean icewm rm -rf /usr/X11R6/share/icewm doclean fluxbox # doclean wget-1.8.2 # doclean nano-1.2.0 # doclean perl-5.8.0 doclean pcre # ispell should be replaced by aspell, but not sure about the dependencies # doclean ispell # moving icons mkdir -p /usr/share/icons ( cd /usr/share/icons; mv /usr/X11R6/share/dfm/icons/crystal . ) # fixing skeletons ( cd /etc/skel; rm -rf .gtkrc .fluxbox .icewm .xfce .dfmdesk .dfminfo ) # fixing root ( cd /root; rm -rf .gtkrc .fluxbox .icewm .xfce .dfmdesk .dfminfo ) # clean the traces of old packages ( cd /var/log; rm -f removed_packages/* removed_scripts/* )