File: penguineyes.postinst

package info (click to toggle)
penguineyes 0.10-22
  • links: PTS
  • area: main
  • in suites: woody
  • size: 736 kB
  • ctags: 219
  • sloc: ansic: 1,928; sh: 346; makefile: 124
file content (15 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

case $1 in
	upgrade|install)
	if [ -n "$2" ]; then
	    if dpkg --compare-versions "$2" \<= 0.10-15 && \
		dpkg --compare-versions "$2" \>= 0.10-5 ; then
		. /usr/share/debconf/confmodule
		db_unregister penguineyes/theme
	    fi
	fi
	;;
esac

#DEBHELPER#