File: libgcj-common.preinst

package info (click to toggle)
gcc-4.8 4.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 587,180 kB
  • ctags: 425
  • sloc: makefile: 65,711; sh: 1,248; perl: 165; awk: 23; cpp: 14
file content (12 lines) | stat: -rw-r--r-- 224 bytes parent folder | download | duplicates (43)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh -e

case "$1" in
    upgrade|install)
	if [ -n "$2" ] && [ -h /usr/share/doc/libgcj-common ] \
	   && dpkg --compare-versions "$2" lt 1:4.0.2-10
	then
	    rm -f /usr/share/doc/libgcj-common
	fi
esac

#DEBHELPER#