2005-12-12 | paulb | raw annotate files changeset graph | [project @ 2005-12-12 00:48:47 by paulb] Introduced special functions for namespace object retrieval and construction. Fixed attribute creation, replacing xmlNewNsProp with xmlSetNsProp in various places. Introduced tests to prevent inappropriate creation of xmlns attributes which reflect the declarations already in place. Removed redundant comments about Unicode. |
1 #! /bin/sh 2 # prerm script for libxml2dom 3 4 set -e 5 6 PACKAGE=python2.4-libxml2dom 7 VERSION=2.4 8 LIB="/usr/lib/python$VERSION" 9 DIRLIST="$LIB/site-packages/libxml2dom" 10 11 case "$1" in 12 remove|upgrade|failed-upgrade) 13 for i in $DIRLIST ; do 14 find $i -name '*.py[co]' -exec rm \{\} \; 15 done 16 ;; 17 18 *) 19 echo "prerm called with unknown argument \`$1'" >&2 20 exit 1 21 ;; 22 esac 23 24 25 26 exit 0