2016-10-04 | Paul Boddie | raw annotate files changeset graph | Attempt to handle temporary resource unavailability by queuing processes, sleeping if no processes have been created already. |
1 #! /bin/sh 2 # prerm script for parallel 3 4 set -e 5 6 PACKAGE=python2.4-parallel-pprocess 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}/pprocess.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