wok diff easy-rsa/receipt @ rev 21937

Up nnn (2.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 07 18:30:01 2019 +0200 (2019-10-07)
parents 8c7a00fa1a66
children 5ea0ce1cecc0
line diff
     1.1 --- a/easy-rsa/receipt	Thu Oct 03 15:08:00 2019 +0200
     1.2 +++ b/easy-rsa/receipt	Mon Oct 07 18:30:01 2019 +0200
     1.3 @@ -15,13 +15,13 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $install/usr/share $fs/usr/share/ $fs/usr/bin
     1.8 +	mkdir -p $install/usr/share $fs/usr/share $fs/usr/bin
     1.9  	cp -a $src/doc $install/usr/share
    1.10  	cp -a $src/easyrsa${VERSION%%.*} $fs/usr/share/easy-rsa
    1.11  	cat > $fs/usr/bin/make-cadir <<EOT
    1.12  #!/bin/sh
    1.13  
    1.14 -[ -e "\${1:-.}" ] && echo "Usage: \$0 DIRECTORY" && exit 1
    1.15 +[ -e "\${1:-.}" ] && echo "Usage: \$0 DIRECTORY_TO_CREATE" && exit 1
    1.16  
    1.17  mkdir -m 700 -p "\$1"
    1.18  ln -s /usr/share/easy-rsa/easyrsa "\$1"