mirror of
https://github.com/YunoHost/tartiflette.git
synced 2024-09-03 20:06:08 +02:00
18 lines
422 B
Python
Executable file
18 lines
422 B
Python
Executable file
#!/usr/bin/python2.7
|
|
import os
|
|
import glob
|
|
from publish_apps import main as publish_apps
|
|
from publish_branches import main as publish_branches
|
|
|
|
def main():
|
|
for link in glob.glob("../www/integration/*.svg"):
|
|
os.unlink(link);
|
|
os.symlink("%s/badges/unknown.svg" % os.getcwd(),
|
|
"../www/integration/unknown.svg")
|
|
|
|
publish_branches()
|
|
publish_apps()
|
|
|
|
if __name__ == '__main__':
|
|
main()
|
|
|