diff options
author | Rene Ladan <rene@FreeBSD.org> | 2011-06-28 18:57:18 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2011-06-28 18:57:18 +0000 |
commit | d69e3c8bb506067d3d6ecf24a027f6fe4cd717f6 (patch) | |
tree | 02088f3100ed899b3da6ad840f7e59aa27b9e7d5 /java/jdk14/files/pkg-deinstall.in | |
parent | Drop maintainership. (diff) |
Remove expired port:
2011-04-17 java/jdk14: does not build on FreeBSD 7.x or newer
Notes
Notes:
svn path=/head/; revision=276598
Diffstat (limited to 'java/jdk14/files/pkg-deinstall.in')
-rw-r--r-- | java/jdk14/files/pkg-deinstall.in | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/java/jdk14/files/pkg-deinstall.in b/java/jdk14/files/pkg-deinstall.in deleted file mode 100644 index 94214557e4d9..000000000000 --- a/java/jdk14/files/pkg-deinstall.in +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -# Set up a standard path -PATH=/usr/bin:/bin - -# Don't do anything during post-deinstall -if [ "$2" = "POST-DEINSTALL" ]; then - exit 0 -fi - -# Remove the plugin - -# Plugin location variables -BROWSERPLUGINDIR="%%LOCALBASE%%/lib/browser_plugins" -JAVAPLUGINDIR="%%JRE_HOME%%/plugin/%%ARCH%%/ns610" -PLUGIN=libjavaplugin_oji.so - -# Check if the package includes the plugin -if [ ! -e "${JAVAPLUGINDIR}/${PLUGIN}" ]; then - exit 0 -fi - -# See if the browser plugin is a link to the package plugin and remove it if so. -if [ -e "${BROWSERPLUGINDIR}/${PLUGIN}" -a \ - -L "${BROWSERPLUGINDIR}/${PLUGIN}" -a \ - x`ls -l "${BROWSERPLUGINDIR}/${PLUGIN}" 2>/dev/null | awk '/->/{print $NF;exit 0}END{exit 1}'` = x"${JAVAPLUGINDIR}/${PLUGIN}" ]; then - rm -f "${BROWSERPLUGINDIR}/${PLUGIN}" -fi - -exit 0 |