Fix installation of packages with all reqdeps satisfied.

--HG--
extra : convert_revision : a9c39ff8170e62dfb169d94753eb43ad3f6817aa
This commit is contained in:
Juan RP 2009-08-13 07:51:29 +02:00
parent 50690d7390
commit f4f050a2af
1 changed files with 2 additions and 1 deletions

View File

@ -344,7 +344,8 @@ set_pkg_state(prop_dictionary_t pkgd, const char *pkgname)
if (rv == 0) {
if ((rv = xbps_set_pkg_state_dictionary(pkgd, state)) != 0)
return rv;
}
} else if (rv == ENOENT)
rv = 0;
return rv;
}