commit: 67c4310eded0656f20b7e7e8ff91228a28170cd1
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 1 15:26:48 2026 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Jan 1 15:26:48 2026 +0000
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=67c4310e
libq/atom: support .xpak extension for .tbz2 binpkgs in multi-instance
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
libq/atom.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libq/atom.c b/libq/atom.c
index 6dd4827..5c9a165 100644
--- a/libq/atom.c
+++ b/libq/atom.c
@@ -120,10 +120,11 @@ atom_explode_cat(const char *atom, const char *cat)
/* eat file name crap when given an (autocompleted) path */
if ((ptr = strstr(ret->CATEGORY, ".ebuild")) != NULL ||
(ptr = strstr(ret->CATEGORY, ".tbz2")) != NULL ||
+ (ptr = strstr(ret->CATEGORY, ".xpak")) != NULL ||
(ptr = strstr(ret->CATEGORY, ".gpkg.tar")) != NULL)
{
*ptr = '\0';
- if (ptr[1] == 't' ||
+ if (ptr[1] == 'x' ||
ptr[1] == 'g')
{
bool valid = false;