wok diff fxload/receipt @ rev 13257

fail2ban: add filter.d/lighttpd-fastcgi.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 17 12:21:42 2012 +0200 (2012-08-17)
parents ef616884d9ee
children b2a632fc9587
line diff
     1.1 --- a/fxload/receipt	Wed Oct 08 17:05:29 2008 +0000
     1.2 +++ b/fxload/receipt	Fri Aug 17 12:21:42 2012 +0200
     1.3 @@ -16,7 +16,12 @@
     1.4  	cd $src
     1.5  	mkdir -p _pkg/usr/share/usb
     1.6  	cp a3load.hex _pkg/usr/share/usb || return 1
     1.7 -	wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE || return 1
     1.8 +	[ -f $SOURCES_REPOSITORY/$PACKAGE ] && cp $SOURCES_REPOSITORY/$PACKAGE .
     1.9 +	if [ ! -f $PACKAGE ]; then
    1.10 +		wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE ||
    1.11 +			 return 1
    1.12 +		cp $PACKAGE $SOURCES_REPOSITORY
    1.13 +	fi
    1.14  	chmod +x fxload
    1.15  	mkdir -p _pkg/usr/bin
    1.16  	mv fxload _pkg/usr/bin