File: gimp.preinst

package info (click to toggle)
gimp 2.2.6-1sarge4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 97,088 kB
  • ctags: 43,756
  • sloc: ansic: 525,782; xml: 36,543; lisp: 9,851; sh: 9,007; makefile: 7,974; python: 2,622; perl: 2,589; yacc: 520; lex: 334
file content (12 lines) | stat: -rw-r--r-- 343 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

if [ "$1" = "install" -o "$1" = "upgrade" ]; then
	# Clean up older links from this package
	update-alternatives --remove gimp /usr/bin/gimp-1.2
	update-alternatives --remove gimptool /usr/bin/gimptool-1.3
	update-alternatives --remove gimp /usr/bin/gimp-2.0
	update-alternatives --remove gimp /usr/bin/gimp-2.2

fi

#DEBHELPER#