wok diff apache/receipt @ rev 1771
usbutils: update DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 15:46:45 2008 +0000 (2008-11-27) |
parents | 295bc93ddcc2 |
children | d699aa373d79 |
line diff
1.1 --- a/apache/receipt Wed Oct 15 14:55:31 2008 +0000 1.2 +++ b/apache/receipt Thu Nov 27 15:46:45 2008 +0000 1.3 @@ -22,7 +22,7 @@ 1.4 grep -q Slitaz config.layout || \ 1.5 cat ../stuff/slitaz.layout >> config.layout 1.6 ./configure --mandir=/usr/share/man --enable-mods-shared=all \ 1.7 - --enable-layout=Slitaz $CONFIGURE_ARGS && \ 1.8 + --enable-layout=Slitaz $CONFIGURE_ARGS && 1.9 make && make DESTDIR=$PWD/_pkg install 1.10 } 1.11 1.12 @@ -62,6 +62,8 @@ 1.13 echo "Processing post-install commands..." 1.14 # Just in case. 1.15 chown www.www $1/var/log/$PACKAGE 1.16 + ping -c 2 $(hostname) > /dev/null 2>&1 || 1.17 + sed -i "s/localhost/$(hostname) localhost/" /etc/hosts 1.18 /etc/init.d/$PACKAGE start 1.19 } 1.20