wok diff openvpn/receipt @ rev 687
tazlito, tazpkg, tazusb, tazwok: no more cpio dependancy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 25 17:12:21 2008 +0000 (2008-04-25) |
parents | 814121e1734f |
children | 10710b8535bc |
line diff
1.1 --- a/openvpn/receipt Tue Mar 04 12:08:02 2008 +0000 1.2 +++ b/openvpn/receipt Fri Apr 25 17:12:21 2008 +0000 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 +