2005-09-28 | paulb | raw annotate files changeset graph | [project @ 2005-09-28 17:44:29 by paulb] Really fixed the script. |
1 #! /bin/sh 2 # prerm script for parallel 3 4 set -e 5 6 PACKAGE=python2.4-parallel 7 VERSION=2.4 8 LIB="/usr/lib/python$VERSION" 9 DIR="$LIB/site-packages" 10 11 case "$1" in 12 remove|upgrade|failed-upgrade) 13 rm ${DIR}/parallel.py[co] 14 ;; 15 16 *) 17 echo "prerm called with unknown argument \`$1'" >&2 18 exit 1 19 ;; 20 esac 21 22 23 24 exit 0