wok rev 20416

xl2tpd: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 02 22:31:30 2018 +0200 (2018-08-02)
parents 633236fac7b8
children d464571327ad
files lynis/receipt xl2tpd/receipt
line diff
     1.1 --- a/lynis/receipt	Thu Aug 02 13:34:15 2018 +0200
     1.2 +++ b/lynis/receipt	Thu Aug 02 22:31:30 2018 +0200
     1.3 @@ -22,11 +22,15 @@
     1.4  	cp $src/[A-Z]* $install/usr/share/doc
     1.5  	cp $src/lynis.8 $install/usr/share/man
     1.6  	cp -a $src $fs/usr/share/lynis
     1.7 +	sed -i "s!| grep \"\\^GNU Wget\" | awk '{ print \$3 !\
     1.8 +2>\\&1 | awk '/^GNU Wget/{ print $3 }/^BusyBox/{ print \$1 \"/\" substr(\$2,2)!\
     1.9 +" $fs/usr/share/lynis/include/binaries
    1.10  	cat > $fs/usr/sbin/lynis <<EOT
    1.11  #!/bin/sh
    1.12  
    1.13  cd /usr/share/lynis
    1.14 -exec ./lynis "$@"
    1.15 +exec ./lynis "\$@"
    1.16  EOT
    1.17  	chown -R root.root $fs/usr/s*/lynis 
    1.18 +	chmod +x $fs/usr/sbin/lynis
    1.19  }
     2.1 --- a/xl2tpd/receipt	Thu Aug 02 13:34:15 2018 +0200
     2.2 +++ b/xl2tpd/receipt	Thu Aug 02 22:31:30 2018 +0200
     2.3 @@ -28,7 +28,7 @@
     2.4  	mkdir -p $fs/usr $fs/etc/xl2tpd $fs/var/run/xl2tpd
     2.5  	cp -a $src/doc $install/usr/share/
     2.6  	rm $install/usr/share/doc/*.?
     2.7 -	cp -a $src/?[A-Z]* $src/exemples $install/usr/share/doc
     2.8 +	cp -a $src/?[A-Z]* $src/examples $install/usr/share/doc
     2.9  	cp -a $install/usr/bin $fs/usr
    2.10  	cp -a $install/usr/sbin $fs/usr
    2.11  }