wok-current rev 16966
icedtea6-jre: add symbolic link to java binary
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Jul 31 18:07:24 2014 -0300 (2014-07-31) |
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 +}