summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tlpsrc2tlpdb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/tlpsrc2tlpdb b/Master/tlpkg/bin/tlpsrc2tlpdb
index 2281ddd3e75..c0fdd97b77f 100755
--- a/Master/tlpkg/bin/tlpsrc2tlpdb
+++ b/Master/tlpkg/bin/tlpsrc2tlpdb
@@ -136,9 +136,13 @@ sub main
# write the new db, to the real location given --all, or stdout.
if ($opt_all) {
$tldb->root ($opt_master);
+
# do set the option_archs from the dirs in Master/bin
my @archs = $tltree->architectures;
$tldb->setting("available_architectures", @archs);
+
+ # add default options
+ $tlpdb->add_default_options();
$tldb->save;
info ("$0: wrote $src_count packages to ". $tldb->root . ".\n");
} else {