File: config

package info (click to toggle)
spamprobe 1.4d-18
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,676 kB
  • sloc: cpp: 15,047; sh: 823; ansic: 675; makefile: 274; ruby: 178; lisp: 73
file content (12 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

if [ "$1" = "configure" ] && [ ! -z $2 ]; then
    if dpkg --compare-versions "$2" lt "1.4d-12.1" ; then
        db_input critical spamprobe/db53_upgrade || true
        db_go || true
    fi
fi