wok-next diff openvpn/receipt @ rev 16928
Add musique.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 18 17:21:16 2014 +0300 (2014-07-18) |
parents | cc6e05d2cb9a |
children | 63d2fe54fb44 |
line diff
1.1 --- a/openvpn/receipt Thu Apr 17 14:01:12 2014 +0400 1.2 +++ b/openvpn/receipt Fri Jul 18 17:21:16 2014 +0300 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 -