File: logcheck.config

package info (click to toggle)
logcheck 1.2.39
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,008 kB
  • ctags: 53
  • sloc: sh: 889; python: 158; makefile: 126; perl: 98
file content (21 lines) | stat: -rw-r--r-- 292 bytes parent folder | download
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

action=$1
version=$2

# debconf
. /usr/share/debconf/confmodule
db_version 2.0


db_text medium logcheck/install-note || true

if [ -n "$version" ] && dpkg --compare-versions "$version" lt "1.2.3"; then
    db_text medium logcheck/changes || true
fi

db_go || true

exit 0