updated for new rpmdepOrder()
authorewt <devnull@localhost>
Wed, 10 Mar 1999 04:47:06 +0000 (04:47 +0000)
committerewt <devnull@localhost>
Wed, 10 Mar 1999 04:47:06 +0000 (04:47 +0000)
CVS patchset: 2872
CVS date: 1999/03/10 04:47:06

install.c

index f9cfcc3..4099b28 100644 (file)
--- a/install.c
+++ b/install.c
@@ -115,6 +115,7 @@ int doInstall(const char * rootdir, const char ** argv, int transFlags,
     int notifyFlags = interfaceFlags | (rpmIsVerbose() ? INSTALL_LABEL : 0 );
     int dbIsOpen = 0;
     const char ** sourcePackages;
+    rpmRelocation * r;
 
     if (transFlags & RPMTRANS_FLAG_TEST) 
        mode = O_RDONLY;
@@ -252,7 +253,7 @@ int doInstall(const char * rootdir, const char ** argv, int transFlags,
     }
 
     if (numBinaryPackages && !(interfaceFlags & INSTALL_NOORDER)) {
-       if (rpmdepOrder(rpmdep, NULL)) {
+       if (rpmdepOrder(rpmdep)) {
            numFailed = numPackages;
            stopInstall = 1;
        }