wok diff db/receipt @ rev 2412

bristuff, squashfs, db: check for patch package
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 10 11:52:45 2009 +0000 (2009-03-10)
parents 26b57ae6bfb0
children 055b57b92161
line diff
     1.1 --- a/db/receipt	Sun Oct 12 09:57:17 2008 +0000
     1.2 +++ b/db/receipt	Tue Mar 10 11:52:45 2009 +0000
     1.3 @@ -14,7 +14,10 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -
     1.8 +	if [ -L $(which patch) ]; then
     1.9 +		echo "Please reinstall patch !"
    1.10 +		return 1
    1.11 +	fi
    1.12  	ln -s $PACKAGE-$VERSION.NC $src
    1.13  	cd $src
    1.14  	wget  http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1 || return 1