wok-stable diff openvpn/receipt @ rev 930
Up: xine-lib (1.1.13)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jun 19 11:54:00 2008 +0200 (2008-06-19) |
parents | 814121e1734f |
children | 10710b8535bc |
line diff
1.1 --- a/openvpn/receipt Tue Mar 04 12:08:02 2008 +0000 1.2 +++ b/openvpn/receipt Thu Jun 19 11:54:00 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 +