File: libphone-utils0-dbg.preinst

package info (click to toggle)
libphone-utils 0.1%2Bgit20110523-2.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 316 kB
  • ctags: 104
  • sloc: ansic: 1,031; sh: 85; python: 50; makefile: 45
file content (19 lines) | stat: -rw-r--r-- 239 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

DOCDIR=/usr/share/doc/libphone-utils0-dbg

case "$1" in
	upgrade)
		if dpkg --compare-versions "$2" lt "0.1+git20110523-1"; then
			if [ ! -L $DOCDIR ]; then
				rm -rf $DOCDIR
			fi
		fi
		;;
	*)
		;;
esac

#DEBHELPER#