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 | |
parent | ef651032e3157ddb0e2cf49dfb08139b5a58a848 (diff) | |
download | java-common-0820c527743ea34353a95b7980659cbb86712a47.tar.gz |
* Just remove the gcj-native-helper doc symlink on upgrade. Closes: #813223.
-rw-r--r-- | debian/changelog | 3 | ||||
-rw-r--r-- | debian/gcj-native-helper.maintscript | 1 | ||||
-rw-r--r-- | debian/gcj-native-helper.preinst | 13 |
3 files changed, 15 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 34e5ec3..388313b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,9 @@ java-common (0.57) UNRELEASED; urgency=medium * Build a default-jdk-headless package. * java_defaults.mk: Fix jvm_archdir macro (Jonas Smedegaard). Closes: #814783. + * Just remove the gcj-native-helper doc symlink on upgrade. Closes: #813223. - -- Matthias Klose <doko@debian.org> Thu, 25 Feb 2016 02:45:18 +0100 + -- Matthias Klose <doko@debian.org> Fri, 26 Feb 2016 18:34:49 +0100 java-common (0.56) unstable; urgency=medium diff --git a/debian/gcj-native-helper.maintscript b/debian/gcj-native-helper.maintscript deleted file mode 100644 index 0301f31..0000000 --- a/debian/gcj-native-helper.maintscript +++ /dev/null @@ -1 +0,0 @@ -symlink_to_dir /usr/share/doc/gcj-native-helper /usr/share/doc/default-jdk 0.55~ 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 |