File: poedit.postinst

package info (click to toggle)
poedit 3.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 11,032 kB
  • sloc: cpp: 53,735; sh: 4,198; makefile: 227; xml: 40
file content (25 lines) | stat: -rw-r--r-- 387 bytes parent folder | download | duplicates (10)
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