wok-current diff unbound/receipt @ rev 19267
Compress manpages.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 11:45:47 2016 +0300 (2016-07-04) |
parents | 5ec99f93b9bb |
children | bff282a27539 |
line diff
1.1 --- a/unbound/receipt Sat Feb 20 18:18:02 2016 +0100 1.2 +++ b/unbound/receipt Mon Jul 04 11:45:47 2016 +0300 1.3 @@ -28,8 +28,16 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr/lib 1.8 + mkdir -p $fs/usr/lib $fs/var/lib/unbound 1.9 cp -a $install/etc $fs 1.10 cp -a $install/usr/lib/*.so* $fs/usr/lib 1.11 cp -a $install/usr/sbin $fs/usr 1.12 } 1.13 + 1.14 +# Post message when installing. 1.15 +post_install() 1.16 +{ 1.17 + chroot "$1/" adduser -S -H -h /var/lib/unbound -D unbound 1.18 + chroot "$1/" chown unbound /var/lib/unbound 1.19 + chroot "$1/" unbound-anchor -a /var/lib/unbound/root.key 1.20 +}