diff options
| author | Matthias Klose <doko@ubuntu.com> | 2016-02-26 18:36:14 +0100 |
|---|---|---|
| committer | Matthias Klose <doko@ubuntu.com> | 2016-02-26 18:36:14 +0100 |
| commit | 0820c527743ea34353a95b7980659cbb86712a47 (patch) | |
| tree | a45fe17bbb770fdc846fd5beed153c5fbaeecdb5 /debian/gcj-native-helper.preinst | |
| parent | ef651032e3157ddb0e2cf49dfb08139b5a58a848 (diff) | |
| download | java-common-0820c527743ea34353a95b7980659cbb86712a47.tar.gz | |
* Just remove the gcj-native-helper doc symlink on upgrade. Closes: #813223.
Diffstat (limited to 'debian/gcj-native-helper.preinst')
| -rw-r--r-- | debian/gcj-native-helper.preinst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/gcj-native-helper.preinst b/debian/gcj-native-helper.preinst new file mode 100644 index 0000000..51b90b6 --- /dev/null +++ b/debian/gcj-native-helper.preinst @@ -0,0 +1,13 @@ +#! /bin/sh + +set -e + +if [ "$1" = upgrade ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt 2:1.8-57~; then + if [ -h /usr/share/doc/gcj-native-helper ]; then + rm -f /usr/share/doc/gcj-native-helper + fi +fi + +#DEBHELPER# + +exit 0 |
