aboutsummaryrefslogtreecommitdiff
path: root/src/simplaret
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-12-09 15:47:59 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-12-09 15:47:59 +0000
commit2a30c620adeb3efbe0c02f4c999b3a5eb347cf06 (patch)
tree3a5e92b16406eed935b6b3b9945f20f56d620234 /src/simplaret
parent3f1dec19a406d0bd63dc04c8cc39e6910ae26219 (diff)
downloadsimplepkg-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-xsrc/simplaret2
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