wok diff sshttp/receipt @ rev 17552
Update some post_install for install --root
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 30 10:17:37 2015 +0100 (2015-01-30) |
parents | f44ef80ff9e2 |
children | 33e5fb8a4dcb |
line diff
1.1 --- a/sshttp/receipt Wed Sep 10 11:15:31 2014 +0200 1.2 +++ b/sshttp/receipt Fri Jan 30 10:17:37 2015 +0100 1.3 @@ -31,7 +31,7 @@ 1.4 # Pre and post install commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 - zcat /proc/config.gz | grep -q ^CONFIG_NETFILTER_TPROXY= || cat <<EOT 1.8 + [ "$1" ] || zcat /proc/config.gz | grep -q ^CONFIG_NETFILTER_TPROXY= || cat <<EOT 1.9 1.10 CONFIG_NETFILTER_TPROXY not found in /proc/config.gz 1.11 sshttp needs Linux IP_TRANSPARENT feature to work.