wok-6.x diff openvpn/receipt @ rev 17297

.hgignore: fix ignore rules
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 30 10:25:56 2014 +0200 (2014-10-30)
parents cc6e05d2cb9a
children 63d2fe54fb44
line diff
     1.1 --- a/openvpn/receipt	Thu Apr 17 14:01:12 2014 +0400
     1.2 +++ b/openvpn/receipt	Thu Oct 30 10:25:56 2014 +0200
     1.3 @@ -39,15 +39,9 @@
     1.4  	chmod 0644 $fs/etc/openvpn/openvpn.conf
     1.5  }
     1.6  
     1.7 -# Post install/remove commands for Tazpkg.
     1.8 -post_install()
     1.9 +post_remove()
    1.10  {
    1.11 -	mkdir -p ${root}/var/run/openvpn
    1.12 +	# remove config
    1.13 +	rm -rf ${root}/etc/openvpn
    1.14  }
    1.15  
    1.16 -post_remove()
    1.17 -{
    1.18 -	# remove config and pids
    1.19 -	rm -rf ${root}/etc/openvpn ${root}/var/run/openvpn
    1.20 -}
    1.21 -