wok diff tinc/receipt @ rev 25580
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 20 07:58:44 2023 +0000 (15 months ago) |
parents | 026f210c4201 |
children |
line diff
1.1 --- a/tinc/receipt Fri Mar 06 17:01:11 2020 +0100 1.2 +++ b/tinc/receipt Sat May 20 07:58:44 2023 +0000 1.3 @@ -44,3 +44,11 @@ 1.4 cp -a $install/usr/sbin $fs/usr 1.5 cp -a $stuff/* $fs 1.6 } 1.7 + 1.8 +post_install() 1.9 +{ 1.10 + grep -q'^tinc\b' $1/etc/services || cat >> $1/etc/services <<EOT 1.11 +tinc 655/tcp TINC 1.12 +tinc 655/udp TINC 1.13 +EOT 1.14 +}