1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

[fix] also test if repo has changed of url before chosing to rebuild

This commit is contained in:
Laurent Peuch 2016-05-03 21:04:40 +02:00
parent af7777bb23
commit c398377f92

View file

@ -85,7 +85,7 @@ for app, info in apps_list.items():
manifest = {} manifest = {}
timestamp = None timestamp = None
if already_built_file.get(app, {}).get("git", {}).get("revision", None) == app_rev: if already_built_file.get(app, {}).get("git", {}).get("revision", None) == app_rev and already_built_file.get(app, {}).get("git", {}).get("url") == app_url:
print("%s[%s] is already up to date in target output, ignore" % (app, app_rev)) print("%s[%s] is already up to date in target output, ignore" % (app, app_rev))
result_dict[app] = already_built_file[app] result_dict[app] = already_built_file[app]
continue continue