aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkg93.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg93.js b/pkg93.js
index 69c5b76..a136e31 100644
--- a/pkg93.js
+++ b/pkg93.js
@@ -193,6 +193,7 @@ pkg93 <span style='color:#0f0'>rm</span> <span style='color:#77f'>kebab</span>`;
} else if (args[0] == "add-repo") {
try {
config.repos.push(args[1]); // well, that was easy
+ localStorage[".pkg93/config.json"] = JSON.stringify(config);
$log("<b><span style='color:#0f0'>OK</span></b> Done!\n Run \"pkg93 pull\" to update the package listing.");
} catch (err) {
$log("<b><span style='color:#f00'>ERR</span></b> " + err.message);