CVS patchset: 528
CVS date: 1996/04/05 17:35:45
rc = rpmInstallPackage(prefix, db, fd, installFlags, fn, printFormat);
if (rc == 1) {
+ fprintf(stderr, "error: %s does not appear to be a RPM package\n", arg);
+ }
+
+ if (rc) {
fprintf(stderr, "error: %s cannot be installed\n", arg);
}
}
break;
case 1:
- fprintf(stderr, "%s is not an RPM\n", arg);
+ fprintf(stderr, "%s does not appear to be a RPM package\n",
+ arg);
+ /* fallthrough */
+ case 2:
+ fprintf(stderr, "query of %s failed\n", arg);
retcode = 1;
}