File: libgimp2.0-dev.postinst

package info (click to toggle)
gimp 2.2.13-1etch4
  • links: PTS
  • area: main
  • in suites: etch
  • size: 94,832 kB
  • ctags: 47,113
  • sloc: ansic: 524,858; xml: 36,798; lisp: 9,870; sh: 9,409; makefile: 7,923; python: 2,674; perl: 2,589; yacc: 520; lex: 334
file content (17 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh -e
                                                                                
ver=2.0
prio=50

if [ "$1" = "configure" ]; then
	update-alternatives \
        --install /usr/bin/gimptool gimptool /usr/bin/gimptool-$ver $prio \
			--slave /usr/share/man/man1/gimptool.1.gz gimptool.1.gz \
				/usr/share/man/man1/gimptool-$ver.1.gz
				
# If the gimptool symlink doesn't exist, something broke, so this should fix:
	[ -L /usr/bin/gimptool ] || update-alternatives --auto gimptool
fi

#DEBHELPER#