File: config

package info (click to toggle)
abook 0.5.3-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,084 kB
  • ctags: 759
  • sloc: ansic: 6,613; sh: 3,272; cpp: 956; python: 256; perl: 91; makefile: 89
file content (17 lines) | stat: -rw-r--r-- 298 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh -e
# config script for abook

action=$1
version=$2

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

if [ "$action" = "configure" -a -n "$version" ]; then
	if dpkg --compare-versions "$version" lt "0.5.0"; then
		db_input medium abook/files_moved || true
		db_go
	fi
fi

exit 0