From 2a30c620adeb3efbe0c02f4c999b3a5eb347cf06 Mon Sep 17 00:00:00 2001 From: rhatto Date: Sat, 9 Dec 2006 15:47:59 +0000 Subject: simplaret: another small fix :)))) git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@53 04377dda-e619-0410-9926-eae83683ac58 --- src/simplaret | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/simplaret b/src/simplaret index ffc703d..3221e9a 100755 --- a/src/simplaret +++ b/src/simplaret @@ -359,7 +359,7 @@ function simplaret_get { candidate="`basename $file`" if [ "`package_name $candidate`" == "$1" ]; then # check if has the same version and build number, otherwise erase the old one - for result in `simplaret_search `basename $file tgz` -basename-only`; do + for result in `simplaret_search $candidate -basename-only`; do if [ "`package_name $candidate`" == "`package_name $result`" ] && \ [ "`package_version $candidate`" == "`package_version $result`" ] && \ [ "`package_build $candidate`" == "`package_build $result`" ]; then -- cgit v1.2.3