xbps_find_pkg_installed_from_plist: if pkg is in 'config-files'
state, treat this as not installed and set errno to ENOENT. --HG-- extra : convert_revision : xtraeme%40gmail.com-20091126040107-zj0stff23hlta1d2
This commit is contained in:
parent
572068d3df
commit
30fc7b050a
@ -167,6 +167,9 @@ xbps_find_pkg_installed_from_plist(const char *pkgname)
|
||||
case XBPS_PKG_STATE_UNPACKED:
|
||||
xbps_regpkgs_dictionary_release();
|
||||
return prop_dictionary_copy(pkgd);
|
||||
case XBPS_PKG_STATE_CONFIG_FILES:
|
||||
errno = ENOENT;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user