Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Do not try to update if no repository are configured
Baptiste Daroussin committed 10 years ago
commit ffdb0c4a6733a13670a651aa356fe9a967e99f4a
parent 0844626d7059b33cd092fa9b56f29df8cafca00a
1 file changed +1 -1
modified src/install.c
@@ -193,7 +193,7 @@ exec_install(int argc, char **argv)
		retcode = EX_SOFTWARE;

	/* first update the remote repositories if needed */
-
	if (auto_update &&
+
	if (auto_update && pkg_repos_total_count() > 0 &&
	    (updcode = pkgcli_update(false, false, reponame)) != EPKG_OK)
		return (updcode);