install v2 and v1 packages despite OS field, don't refuse to install all
authorewt <devnull@localhost>
Fri, 19 Jul 1996 22:31:37 +0000 (22:31 +0000)
committerewt <devnull@localhost>
Fri, 19 Jul 1996 22:31:37 +0000 (22:31 +0000)
of them

CVS patchset: 897
CVS date: 1996/07/19 22:31:37

lib/install.c

index 63c99fb..5bccac9 100644 (file)
@@ -1494,7 +1494,7 @@ static int osOkay(Header h) {
     if (type == INT8_TYPE) {
        /* v1 packages and v2 packages both used improper OS numbers, so just
           deal with it hope things work */
-       return 0;
+       return 1;
     } else {
        /* new os handling */
        if (!rpmOsScore(pkgOs)) {