wok diff icedtea6-jre/receipt @ rev 17069
Add tcpcrypt (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 22 16:14:59 2014 +0200 (2014-08-22) |
parents | f4c22f009037 |
children | b63f49cad2a3 |
line diff
1.1 --- a/icedtea6-jre/receipt Sat Sep 07 18:25:02 2013 +0000 1.2 +++ b/icedtea6-jre/receipt Fri Aug 22 16:14:59 2014 +0200 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 +}