actually fixed core dump this time
authorewt <devnull@localhost>
Wed, 11 Dec 1996 15:53:58 +0000 (15:53 +0000)
committerewt <devnull@localhost>
Wed, 11 Dec 1996 15:53:58 +0000 (15:53 +0000)
CVS patchset: 1221
CVS date: 1996/12/11 15:53:58

lib/install.c

index 001b8ca..c6374b1 100644 (file)
@@ -238,8 +238,8 @@ int rpmInstallPackage(char * rootdir, rpmdb db, int fd, char * location,
     if (rc == -1) return 2;
     if (rc) {
        scriptArg = 1;
-       hasOthers = 1;
     } else {
+       hasOthers = 1;
        scriptArg = matches.count + 1;
     }