File: postinst

package info (click to toggle)
efax 1%3A0.9a-20
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 452 kB
  • sloc: ansic: 4,629; sh: 932; makefile: 77
file content (12 lines) | stat: -rw-r--r-- 253 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

# purge templates we dropped in 1:0.9a-15
if [ "$1" = configure ]  &&\
  dpkg --compare-versions "$2" lt-nl "1:0.9a-15" && \
  [ -e /usr/share/debconf/confmodule ]; then
    . /usr/share/debconf/confmodule
    db_purge
fi

#DEBHELPER#