diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-02-25 13:26:06 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-02-25 13:26:06 +0000 |
commit | 8f7c8cea6f68c2c5661b56d7db1d09df10dc0321 (patch) | |
tree | ea6e5ec82246f86f7cd246fd432f7a418b3cac20 /java | |
parent | Update www/w3m to 0.4 and www/w3m-m17n to 0.4+20030224. (diff) |
Remove duplicate lines that were created due to applying the same patch
two times.
Submitted by: des
Notes
Notes:
svn path=/head/; revision=76458
Diffstat (limited to 'java')
-rw-r--r-- | java/shujit/pkg-deinstall | 14 | ||||
-rw-r--r-- | java/shujit/pkg-install | 32 |
2 files changed, 0 insertions, 46 deletions
diff --git a/java/shujit/pkg-deinstall b/java/shujit/pkg-deinstall index 38e915864de0..26cb855fe0c6 100644 --- a/java/shujit/pkg-deinstall +++ b/java/shujit/pkg-deinstall @@ -12,17 +12,3 @@ then done rm -f "${linkfile}" fi -#!/bin/sh -# -# $FreeBSD$ -# - -linkfile="${PKG_PREFIX}/etc/shujit-links" -if [ -f "${linkfile}" ] -then - cat "${linkfile}" | while read link - do - rm -f "${link}" - done - rm -f "${linkfile}" -fi diff --git a/java/shujit/pkg-install b/java/shujit/pkg-install index 98c2ef2063e3..0d02b1362459 100644 --- a/java/shujit/pkg-install +++ b/java/shujit/pkg-install @@ -30,35 +30,3 @@ do ;; esac done -#!/bin/sh -# -# $FreeBSD$ -# - -[ "$2" = "POST-INSTALL" ] || exit 0 - -linkfile="${PKG_PREFIX}/etc/shujit-links" -:>"${linkfile}" - -sed 's/[[:space:]]*#.*//' ${PKG_PREFIX}/etc/javavms | while read vm -do - case "$vm" in - *linux*) - # Linux JDKs are not supported - ;; - *) - java_home="${vm%%/bin/*}" - case "$java_home" in - *jdk1.1.8*) - libdir="${java_home}/lib/i386/green_threads" - ;; - *) - libdir="${java_home}/jre/lib/i386" - ;; - esac - echo "Installing link in ${libdir}" - ln -fs "${PKG_PREFIX}/lib/libshujit.so" "${libdir}/libshujit.so" - echo "${libdir}/libshujit.so" >>"${linkfile}" - ;; - esac -done |