File: python-gpgme-dbg.preinst

package info (click to toggle)
pygpgme 0.3-1.2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 548 kB
  • ctags: 526
  • sloc: ansic: 2,871; python: 1,389; makefile: 54; sh: 14
file content (21 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
set -e

case "$1" in
    install|upgrade)
        DOCDIR=/usr/share/doc/python-gpgme-dbg
        if [ -L $DOCDIR ]; then rm $DOCDIR; fi
    ;;

    abort-upgrade)
    ;;

    *)
        echo "preinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#

exit 0