File: postinst

package info (click to toggle)
changetrack 4.7-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 232 kB
  • sloc: perl: 1,066; sh: 65; makefile: 46
file content (20 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh 

set -e

## The version in Woody had a now obsolete question about a defaults
## file.  We do not need that question anymore.
if dpkg --compare-versions 3.7-3 le-nl "$2"; then

    # Source debconf library, if present.
    if [ -e /usr/share/debconf/confmodule ]; then
        . /usr/share/debconf/confmodule    
        ## Remove all questions in the debconf database.
        db_purge
    fi

fi

#DEBHELPER#

exit 0