File: preinst

package info (click to toggle)
gv 1:3.5.8-17
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,924 kB
  • ctags: 3,078
  • sloc: ansic: 25,928; sh: 153; makefile: 57
file content (9 lines) | stat: -rw-r--r-- 214 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [ -x /usr/sbin/install-mime ] && [ "$1" = "upgrade" ] && \
   `dpkg --compare-versions $2 lt 1:3.5.8-14` ; then
	echo "Removing old MIME information..."
	install-mime --remove --package=gv
fi

exit 0