added installFlags, changed error message
authorewt <devnull@localhost>
Sat, 13 Jan 1996 22:02:24 +0000 (22:02 +0000)
committerewt <devnull@localhost>
Sat, 13 Jan 1996 22:02:24 +0000 (22:02 +0000)
CVS patchset: 204
CVS date: 1996/01/13 22:02:24

install.c

index a91f3a2..76e6a9b 100644 (file)
--- a/install.c
+++ b/install.c
@@ -33,9 +33,9 @@ void doInstall(char * prefix, char * arg, int test, int installFlags) {
        return;
     }
 
-    rc = rpmInstallPackage(prefix, db, fd, test);
+    rc = rpmInstallPackage(prefix, db, fd, installFlags, test);
     if (rc == 1) {
-       fprintf(stderr, "error: %s is not a RPM package\n", arg);
+       fprintf(stderr, "error: %s cannot be installed\n", arg);
     }
 
     close(fd);