File: postinst.t

package info (click to toggle)
lg-issue10 7-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 324 kB
  • ctags: 60
  • sloc: makefile: 34; sh: 34
file content (35 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (106)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#! /bin/sh
set -e

# Source debconf library.
. /usr/share/debconf/confmodule

#DEBHELPER#

case "$1" in
    configure)

    if [ -x /usr/share/lg/scripts/install-issue ]; then
       /usr/share/lg/scripts/install-issue install XX
    fi

    db_get lg-base/delete
    if [ "$RET" = "true" ]; then
	rm -f /usr/share/doc/lg-issueXX/lg-issueXX.tar.gz
    fi

    ;;

    abort-upgrade|abort-remove|abort-deconfigure)

    ;;

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

exit 0