wok rev 15876
spl: add EXTRAVERSION
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 03 14:19:24 2014 +0000 (2014-02-03) |
parents | baeb47f15a92 |
children | 95fca5088310 |
files | spl/receipt |
line diff
1.1 --- a/spl/receipt Mon Feb 03 11:55:38 2014 +0000 1.2 +++ b/spl/receipt Mon Feb 03 14:19:24 2014 +0000 1.3 @@ -2,6 +2,7 @@ 1.4 1.5 PACKAGE="spl" 1.6 VERSION="0.6.2" 1.7 +EXTRAVERSION="_${kvers}" 1.8 CATEGORY="system-tools" 1.9 SHORT_DESC="Solaris Porting LAyer for ZFS." 1.10 MAINTAINER="pascal.bellard@slitaz.org" 1.11 @@ -32,3 +33,16 @@ 1.12 cp -a $install/usr/sbin $fs/usr 1.13 cp -a $install/lib $fs 1.14 } 1.15 + 1.16 +# Post install/remove commands for Tazpkg. 1.17 +post_install() 1.18 +{ 1.19 + echo "Processing post-install commands..." 1.20 + chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz 1.21 +} 1.22 + 1.23 +post_remove() 1.24 +{ 1.25 + echo "Processing post-remove commands..." 1.26 + chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz 1.27 +}