aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/package.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/bpkg/package.hxx b/bpkg/package.hxx
index 489f909..ad2b7a8 100644
--- a/bpkg/package.hxx
+++ b/bpkg/package.hxx
@@ -1144,7 +1144,10 @@ namespace bpkg
// pkg-unpack --existing <dir>
//
- (repository_fragment.empty () && !archive);
+ // Note that the system package can have no repository associated (see
+ // imaginary system repository in pkg-build.cxx for details).
+ //
+ (repository_fragment.empty () && !archive && !system ());
}
// Represent the wildcard version with the "*" string. Represent naturally