summary refs log tree commit diff stats
path: root/testament/categories.nim
diff options
context:
space:
mode:
Diffstat (limited to 'testament/categories.nim')
-rw-r--r--testament/categories.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/testament/categories.nim b/testament/categories.nim
index c7365e8fd..337d15f4f 100644
--- a/testament/categories.nim
+++ b/testament/categories.nim
@@ -486,7 +486,9 @@ iterator listPackages(filter: PackageFilter):
             yield (name, url, defaultCmd, false)
         of pfExtraOnly:
           for n, cmd, commit, hasDeps in important_packages.packages.items:
-            if name == n: yield (name, url, cmd, hasDeps)
+            if name == n:
+              let cmd = if cmd.len == 0: defaultCmd else: cmd
+              yield (name, url, cmd, hasDeps)
         of pfAll:
           yield (name, url, defaultCmd, false)