From 8f7c8cea6f68c2c5661b56d7db1d09df10dc0321 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Tue, 25 Feb 2003 13:26:06 +0000 Subject: Remove duplicate lines that were created due to applying the same patch two times. Submitted by: des --- java/shujit/pkg-deinstall | 14 -------------- java/shujit/pkg-install | 32 -------------------------------- 2 files changed, 46 deletions(-) (limited to 'java/shujit') 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 -- cgit v1.2.3