Compare commits
No commits in common. "79324b36160a0be84ee7933f26be6cc9d10bb673" and "dca84491652b28ec4e61385f22035d196a13acbe" have entirely different histories.
79324b3616
...
dca8449165
1 changed files with 0 additions and 13 deletions
13
install.py
13
install.py
|
|
@ -33,19 +33,6 @@ for root, folders, files in os.walk(join(base, 'static')):
|
|||
os.makedirs(target_folder)
|
||||
os.symlink(rel_src, target)
|
||||
|
||||
for img in ('logo.png', 'icon.png'):
|
||||
f = join('/srv/pandora/static/png', img)
|
||||
custom = join('/srv/pandora/static/png', img.replace('.png', '.%s.png' % name))
|
||||
if os.path.exists(custom):
|
||||
if not os.path.islink(f):
|
||||
os.unlink(f)
|
||||
else:
|
||||
path = os.path.realpath(f)
|
||||
if name not in path:
|
||||
os.unlink(f)
|
||||
if not os.path.exists(f):
|
||||
os.symlink(os.path.basename(custom), f)
|
||||
|
||||
if overwrite:
|
||||
os.chdir('/srv/pandora/static/js')
|
||||
for filename, sitename in overwrite:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue