Fix .dirindex entrys
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
d6d36e8caf
commit
a2abdcf707
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ def update_index(output, name, name_major):
|
||||||
|
|
||||||
sha = get_sha1(output + "/" + name_major + "/" + name + ".zip")
|
sha = get_sha1(output + "/" + name_major + "/" + name + ".zip")
|
||||||
if sha != None:
|
if sha != None:
|
||||||
index["z:" + name] = sha
|
index["z:" + name + ".zip"] = sha
|
||||||
|
|
||||||
write_index(output + "/" + name_major + "/.dirindex", index)
|
write_index(output + "/" + name_major + "/.dirindex", index)
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ def update_index(output, name, name_major):
|
||||||
|
|
||||||
sha = get_sha1(output + "/" + name_major + "/.dirindex")
|
sha = get_sha1(output + "/" + name_major + "/.dirindex")
|
||||||
if sha != None:
|
if sha != None:
|
||||||
main_index["z:" + name] = sha
|
main_index["d:" + name_major] = sha
|
||||||
|
|
||||||
write_index(output + "/.dirindex", main_index)
|
write_index(output + "/.dirindex", main_index)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue