Save the details and files repo files when importing a dir of rpms
authorJames Bowes <jbowes@redhat.com>
Thu, 26 Jun 2008 22:41:55 +0000 (18:41 -0400)
committerJames Bowes <jbowes@redhat.com>
Thu, 26 Jun 2008 22:41:55 +0000 (18:41 -0400)
src/main.c

index 268eece..c2ecd6e 100644 (file)
@@ -622,6 +622,8 @@ command_import_rpms(int argc, const char *argv[])
        set = razor_importer_finish(importer);
 
        razor_set_write(set, repo_filename, RAZOR_REPO_FILE_MAIN);
+       razor_set_write(set, "system-details.repo", RAZOR_REPO_FILE_DETAILS);
+       razor_set_write(set, "system-files.repo", RAZOR_REPO_FILE_FILES);
        razor_set_destroy(set);
        printf("wrote %s\n", repo_filename);