Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Only compare repo.sqlite mtime + 1m instead of 10m
Baptiste Daroussin committed 13 years ago
commit babf8d1ea79afcfd5ebb11a2cc79629f83f2e8e1
parent 074f1d856d1fd570848ca155f5c6bcfcdfa5e328
1 file changed +2 -2
modified libpkg/update.c
@@ -99,11 +99,11 @@ pkg_update(const char *name, const char *packagesite, bool force)
	else {
		if (stat(repofile, &st) != -1) {
			t = st.st_mtime;
-
			/* add 10 minutes to the timestap because
+
			/* add 1 minute to the timestap because
			 * repo.sqlite is always newer than repo.txz,
			 * 10 minutes should be enough
			 */
-
			t += 600;
+
			t += 60;
		}
	}