Subversion Repositories DevTools

Rev

Blame | Last modification | View Log | RSS feed

#! /bin/bash
################################################################################
# Pre remove script
# Used as post remove does not always work on all systems
# Must return 0 if all is well
#

#   Remove any line that contains our script name
#
kdestart=/etc/kde4/kdm/Xsetup
if [ -f "$kdestart" ] ; then
    sed -i "$kdestart" -e '/configureVM/d'
fi

#
#   Run the script self remover
#
cf='/root/vix/configureVM'
[ -x "$cf" ] && "$cf" -remove

true