diff options
author | ewt <devnull@localhost> | 1996-07-19 22:32:36 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-07-19 22:32:36 +0000 |
commit | 5d1c48a5a09f4b33b496d8d4fb0f3386ab6df998 (patch) | |
tree | 24966b1e3142bd713fd51c4ed783cd0f59010777 /install.c | |
parent | d597761fe0c1d56c47a7ee73e9c6e730baae4704 (diff) | |
download | librpm-tizen-5d1c48a5a09f4b33b496d8d4fb0f3386ab6df998.tar.gz librpm-tizen-5d1c48a5a09f4b33b496d8d4fb0f3386ab6df998.tar.bz2 librpm-tizen-5d1c48a5a09f4b33b496d8d4fb0f3386ab6df998.zip |
fixed hashing for multiple packages
CVS patchset: 898
CVS date: 1996/07/19 22:32:36
Diffstat (limited to 'install.c')
-rw-r--r-- | install.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -67,6 +67,8 @@ static int installPackages(char * rootdir, char ** packages, char * location, for (i = 0, filename = packages; i < numPackages; i++, filename++) { if (!*filename) continue; + hashesPrinted = 0; + fd = open(*filename, O_RDONLY); if (fd < 0) { fprintf(stderr, "error: cannot open file %s\n", *filename); @@ -97,7 +99,6 @@ static int installPackages(char * rootdir, char ** packages, char * location, "just testing\n"); rc = 0; } else { - hashesPrinted = 0; rc = rpmInstallSourcePackage(rootdir, fd, NULL); } } |