File: python-gobject-dbg.preinst

package info (click to toggle)
pygobject 3.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,264 kB
  • sloc: ansic: 21,686; sh: 11,449; python: 9,482; makefile: 655; xml: 23
file content (11 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl 3.2.2-2; then
    if [ -L /usr/share/doc/python-gobject-dbg ]; then
        rm -f /usr/share/doc/python-gobject-dbg
    fi
fi

#DEBHELPER#