wok-current diff openvpn/receipt @ rev 645
Up: xterm (335)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 22 18:50:19 2008 +0200 (2008-04-22) |
parents | 814121e1734f |
children | 10710b8535bc |
line diff
1.1 --- a/openvpn/receipt Tue Mar 04 12:08:02 2008 +0000 1.2 +++ b/openvpn/receipt Tue Apr 22 18:50:19 2008 +0200 1.3 @@ -26,6 +26,17 @@ 1.4 { 1.5 mkdir -p $fs/usr/sbin 1.6 cp -a $_pkg/usr/sbin/openvpn $fs/usr/sbin 1.7 - mkdir $fs/etc/openvpn 1.8 } 1.9 1.10 +# Post install/remove commands for Tazpkg. 1.11 +post_install() 1.12 +{ 1.13 + mkdir -p /etc/openvpn /var/run/openvpn 1.14 +} 1.15 + 1.16 +post_remove() 1.17 +{ 1.18 + # remove config and pids 1.19 + rm -rf /etc/openvpn /var/run/openvpn 1.20 +} 1.21 +