Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix database being remove in case it was up to date
Baptiste Daroussin committed 10 years ago
commit 9ddd3567d771e1bed143d9302de1cc60cb424598
parent 2425e25fe82f073fd3178c268dbd88649bec57b3
1 file changed +1 -1
modified libpkg/repo/binary/update.c
@@ -572,7 +572,7 @@ cleanup:
			rc = EPKG_FATAL;
	}
	/* restore the previous db in case of failures */
-
	if (rc != EPKG_OK) {
+
	if (rc != EPKG_OK && rc != EPKG_UPTODATE) {
		unlink(name);
		rename(path, name);
	}