Compare commits
No commits in common. "9bb7f18848cb2313ba0e73245b5796d0b377de84" and "31da3a0f98e4186f35e0b96fa517811e99078e30" have entirely different histories.
9bb7f18848
...
31da3a0f98
2 changed files with 1 additions and 14 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:
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@ pandora.ui.home = function() {
|
|||
if (loadedCSS) {
|
||||
callback()
|
||||
} else {
|
||||
Ox.getFile('/static/css/home.collectivecinema.css', function() {
|
||||
Ox.getFile('/static/css/home.css', function() {
|
||||
loadedCSS = true
|
||||
callback()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue