File: eclipse-platform.preinst

package info (click to toggle)
eclipse 3.2.1-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 54,216 kB
  • ctags: 71
  • sloc: sh: 8,046; makefile: 496
file content (19 lines) | stat: -rw-r--r-- 440 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

# Fix for #345724, #345749 and #346224.
case "$1" in
    upgrade)
	featuredir=/usr/lib/eclipse/features
	if [ -h $featuredir ]; then
	    rm -f $featuredir
	    mkdir $featuredir
	    for i in `ls /usr/share/eclipse/features`; do
		( cd $featuredir ; ln -s /usr/share/eclipse/features/$i . )
	    done
	fi
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#