diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-12-09 15:47:59 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-12-09 15:47:59 +0000 |
commit | 2a30c620adeb3efbe0c02f4c999b3a5eb347cf06 (patch) | |
tree | 3a5e92b16406eed935b6b3b9945f20f56d620234 /src/simplaret | |
parent | 3f1dec19a406d0bd63dc04c8cc39e6910ae26219 (diff) | |
download | simplepkg-2a30c620adeb3efbe0c02f4c999b3a5eb347cf06.tar.gz simplepkg-2a30c620adeb3efbe0c02f4c999b3a5eb347cf06.tar.bz2 |
simplaret: another small fix :))))
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@53 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'src/simplaret')
-rwxr-xr-x | src/simplaret | 2 |
1 files changed, 1 insertions, 1 deletions
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 |