File: gimp.preinst

package info (click to toggle)
gimp 2.6.10-1%2Bsqueeze4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 128,948 kB
  • ctags: 55,327
  • sloc: ansic: 635,142; lisp: 10,678; sh: 10,420; makefile: 9,729; python: 3,366; perl: 2,713; xml: 1,152; yacc: 554; lex: 339
file content (11 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#!/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#