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