diff options
author | Unknown | 2018-04-11 17:41:37 +0100 |
---|---|---|
committer | Unknown | 2018-04-11 17:41:37 +0100 |
commit | b0f99897d43e9ee9f711e86a305b2de0e73117b5 (patch) | |
tree | 061de0265cc5c88ef9fed759985807ad5e4e6be0 | |
parent | d8ec576d4d36fd1ce0a501ae5372ad52296b1dc9 (diff) |
fix add-repo, rm-repo
-rw-r--r-- | pkg93.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |