Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=setup.git;a=commitdiff;h=7fd0fb06413cb69995494b28431f180bfdaa69bb
commit 7fd0fb06413cb69995494b28431f180bfdaa69bb Author: Miklos Vajna <vmik...@frugalware.org> Date: Sun Jul 24 13:51:52 2011 +0200 select: do not uncompress fdb in prepare_pkgdb() - closes #4534 diff --git a/src/plugins/select.c b/src/plugins/select.c index e3f433e..1842c9c 100644 --- a/src/plugins/select.c +++ b/src/plugins/select.c @@ -337,9 +337,9 @@ int prepare_pkgdb(char *repo, GList **config, GList **syncs) if((char*)data_get(*config, "netinstall")==NULL) { makepath(pkgdb); - // TODO: use libarchive for this - temp = g_strdup_printf("xz -dc %s/%s.fdb | tar x -C %s", pacbindir, repo, pkgdb); - fw_system(temp); + // TODO: use libpacman for this + temp = g_strdup_printf("%s/%s.fdb", pacbindir, repo); + copyfile(temp, pkgdb); g_free(temp); if ((fp = fopen("/etc/pacman-g2.conf", "w")) == NULL) { _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git