home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- set -e
-
- if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "0.71-3"; then
- echo "Remove stale byte-compiled files..."
- rm -f /usr/lib/python2.[45]/site-packages/dbus.pyc
- rm -f /usr/lib/python2.[45]/site-packages/dbus.pyo
- rm -f /usr/lib/python2.[45]/site-packages/dbus/*.pyc
- rm -f /usr/lib/python2.[45]/site-packages/dbus/*.pyo
- test -e /usr/lib/python2.4/site-packages/dbus && rmdir --ignore-fail-on-non-empty /usr/lib/python2.4/site-packages/dbus
- test -e /usr/lib/python2.5/site-packages/dbus && rmdir --ignore-fail-on-non-empty /usr/lib/python2.5/site-packages/dbus
- fi
-
- # Automatically added by dh_pysupport
- if [ "$1" = "configure" ] && which update-python-modules >/dev/null 2>&1; then
- update-python-modules -i /usr/share/python-support/python-dbus
- fi
- # End automatically added section
-
-
-