wok-next diff apcupsd/receipt @ rev 19700

unionfs-fuse: do not define function twice
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 26 10:36:51 2017 +0200 (2017-04-26)
parents f0a0b5091b4a
children 577783a50854
line diff
     1.1 --- a/apcupsd/receipt	Mon Jul 04 10:05:09 2016 +0300
     1.2 +++ b/apcupsd/receipt	Wed Apr 26 10:36:51 2017 +0200
     1.3 @@ -30,15 +30,12 @@
     1.4  		$CONFIGURE_ARGS &&
     1.5  	make && make install
     1.6  
     1.7 -	for i in 5 8; do
     1.8 -		mkdir -p $install/usr/share/man/man$i
     1.9 -		cp -a $src/doc/*.$i $install/usr/share/man/man$i
    1.10 -	done
    1.11 -	cook_compress_manpages
    1.12 +	cook_pick_manpages $src/doc/*.5 $src/doc/*.8
    1.13  }
    1.14  
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {
    1.18  	cp -a $install/* $fs
    1.19 +	rm -r $fs/usr/share/man
    1.20  }