Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=setup.git;a=commitdiff;h=88d81218eaca7d143fa0391efd34e20b11ad6e1d
commit 88d81218eaca7d143fa0391efd34e20b11ad6e1d Author: Miklos Vajna <[email protected]> Date: Wed Jan 18 01:14:17 2012 +0100 set maxtries by default diff --git a/Makefile b/Makefile index 19e5d7f..24a9ad6 100644 --- a/Makefile +++ b/Makefile @@ -450,6 +450,7 @@ pacman-g2: cp -a $(BDIR)/etc/pacman-g2/repos/* pacman-g2/etc/pacman-g2/repos/ echo "[options]" >>pacman-g2/etc/pacman-g2.conf echo "LogFile = /var/log/pacman-g2.log" >>pacman-g2/etc/pacman-g2.conf + echo "MaxTries = 5" >>pacman-g2/etc/pacman-g2.conf ifeq ($(STABLE),false) echo "Include = /etc/pacman-g2/repos/frugalware-current" >> pacman-g2/etc/pacman-g2.conf else diff --git a/src/plugins/select.c b/src/plugins/select.c index f6c95b5..c91cab6 100644 --- a/src/plugins/select.c +++ b/src/plugins/select.c @@ -345,6 +345,7 @@ int prepare_pkgdb(char *repo, GList **config, GList **syncs) } fprintf(fp, "[options]\n"); fprintf(fp, "LogFile = /var/log/pacman-g2.log\n"); + fprintf(fp, "MaxTries = 5\n"); fprintf(fp, "[%s]\n", repo); fprintf(fp, "Server = file://%s\n\n", pacbindir); fclose(fp); _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
