1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 19:44:13 +01:00

No more randomly generated package subtree paths.

This commit is contained in:
Kris Maglione
2012-01-13 02:25:57 -05:00
parent cc38e7057d
commit cbee50966b
7 changed files with 291 additions and 275 deletions

View File

@@ -142,7 +142,7 @@ ProtocolBase.prototype = {
function LocaleChannel(pkg, locale, path, orig) {
for each (let locale in [locale, "en-US"])
for each (let sep in "-/") {
var channel = Channel(["resource:/", pkg + sep + locale, path].join("/"), orig, true);
var channel = Channel(["resource:/", pkg + sep + locale, path].join("/"), orig, true, true);
if (channel)
return channel;
}