Navigation

Project: wok

Clone project: hg clone http://hg.slitaz.org/wok

  • Download tarball:
  • bz2
  • gz

Search

wok changeset 16966:c2376ae3c9ad

icedtea6-jre: add symbolic link to java binary
author Yuri Pourre <yuripourre@gmail.com>
date Thu Jul 31 18:07:24 2014 -0300 (6 weeks ago ago)
parents ed7d78e6967f
children f5cac0fe4041
files icedtea6-jre/receipt
line diff
     1.1 --- a/icedtea6-jre/receipt	Thu Jul 31 21:59:15 2014 +0200
     1.2 +++ b/icedtea6-jre/receipt	Thu Jul 31 18:07:24 2014 -0300
     1.3 @@ -21,3 +21,14 @@
     1.4  	mkdir -p $fs/usr/lib/jvm/java-icedtea
     1.5  	cp -a $install/usr/lib/jvm/java-icedtea/jre $fs/usr/lib/jvm/java-icedtea
     1.6  }
     1.7 +
     1.8 +# Post install/remove commands for Tazpkg.
     1.9 +post_install()
    1.10 +{
    1.11 +	ln -sf /usr/lib/jvm/java-icedtea/bin/java /usr/bin/java
    1.12 +}
    1.13 +
    1.14 +post_remove()
    1.15 +{
    1.16 +	rm -f $1/usr/bin/java
    1.17 +}