]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
simplaret: simplaret_search_and_download_patch fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sun, 10 Dec 2006 23:15:19 +0000 (23:15 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sun, 10 Dec 2006 23:15:19 +0000 (23:15 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@71 04377dda-e619-0410-9926-eae83683ac58

src/simplaret

index 4ab577274492e98327d70f61380c5e90e945db8e..2d39dbe4d31f1033e52bbe0b4c2de1e571bc84b3 100755 (executable)
@@ -463,7 +463,7 @@ function simplaret_search_and_download_patch {
     done
 
     # if the package is installed, download the patch
-    if [[ "$package_installed" != "1" ]]; then
+    if [[ "$package_installed" == "1" ]]; then
       # TODO: verificar se eh a mesma versao e build number que esta instalada?
       # DOWNLOAD_EVEN_IF_APPLIED?
       simplaret_get $candidate