Fixed installs of serial/version tags
authorewt <devnull@localhost>
Thu, 24 Jul 1997 14:41:55 +0000 (14:41 +0000)
committerewt <devnull@localhost>
Thu, 24 Jul 1997 14:41:55 +0000 (14:41 +0000)
CVS patchset: 1770
CVS date: 1997/07/24 14:41:55

lib/install.c

index d18fe9a..02a6f3f 100644 (file)
@@ -1274,9 +1274,9 @@ int rpmVersionCompare(Header first, Header second) {
        two = NULL;
 
     if (one && !two) 
-       return -1;
-    else if (!one && two) 
        return 1;
+    else if (!one && two) 
+       return -1;
     else if (one && two)
        return rpmvercmp(one, two);