CVS java-package/ibm-j2sdk1.4
Barry Hawkins
barryh-guest at haydn.debian.org
Sat Nov 5 01:13:35 UTC 2005
Update of /cvsroot/pkg-java/java-package/ibm-j2sdk1.4
In directory haydn:/tmp/cvs-serv14605/ibm-j2sdk1.4
Modified Files:
install
Log Message:
Cleaned up install script issues with alternatives and removed some trailing excess newlines
--- /cvsroot/pkg-java/java-package/ibm-j2sdk1.4/install 2005/04/21 06:12:30 1.3
+++ /cvsroot/pkg-java/java-package/ibm-j2sdk1.4/install 2005/11/05 01:13:35 1.4
@@ -9,14 +9,9 @@
# alternative <program>
function program_alternative() {
local program="$1"
- cat >/usr/bin/$program-$suffix <<EOF
-#! /bin/sh
-exec $j2se_base/bin/$program \${1+"\$@"}
-EOF
- chmod 755 /usr/bin/$program-$suffix
update-alternatives \
--install "/usr/bin/$program" "$program" \
- "/usr/bin/$program-$suffix" "$priority"
+ "$j2se_base/bin/$program" "$priority"
}
More information about the pkg-java-commits
mailing list