File: postinst

package info (click to toggle)
poedit 1.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 6,688 kB
  • ctags: 1,229
  • sloc: cpp: 9,686; sh: 3,951; makefile: 269; ansic: 10
file content (25 lines) | stat: -rw-r--r-- 387 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

set -e

case "${1}" in
	configure)
		update-alternatives \
			--install /usr/bin/poedit poedit /usr/bin/poeditor 120 \
			--slave /usr/share/man/man1/poedit.1.gz poedit.1.gz \
			/usr/share/man/man1/poeditor.1.gz
		;;

	abort-upgrade|abort-remove|abort-deconfigure)

		;;

	*)
		echo "postinst called with unknown argument \`${1}'" >&2
		exit 1
		;;
esac

#DEBHELPER#

exit 0