File: postinst

package info (click to toggle)
unoconv 0.7-2.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 580 kB
  • sloc: python: 979; makefile: 147; sh: 10
file content (11 lines) | stat: -rw-r--r-- 261 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

#DEBHELPER#

if [ "$1" = configure ]; then
	update-alternatives --quiet --install /usr/bin/odt2txt odt2txt /usr/bin/odt2txt.unoconv 100 \
		--slave /usr/share/man/man1/odt2txt.1.gz odt2txt.1.gz \
		/usr/share/man/man1/odt2txt.unoconv.1.gz
fi