diff options
author | 2007-03-03 19:25:49 +0000 | |
---|---|---|
committer | 2007-03-03 19:25:49 +0000 | |
commit | 3513c80ac65a7a6e0e3be46f80eeb91bfbfdcdca (patch) | |
tree | 7bd903ee2c42a51275dfb07661a11112c67671a3 | |
parent | Added Fix SSL issue with /daily/ pages. (diff) | |
download | gentoo-3513c80ac65a7a6e0e3be46f80eeb91bfbfdcdca.tar.gz gentoo-3513c80ac65a7a6e0e3be46f80eeb91bfbfdcdca.tar.bz2 gentoo-3513c80ac65a7a6e0e3be46f80eeb91bfbfdcdca.zip |
Create dummy include file in /daily/. Fixes bug #166551. Make /head.html
not overwrite itself with a broken symlink.
-rw-r--r-- | src/packages/mksite.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/packages/mksite.py b/src/packages/mksite.py index c837d56931..9849b1be1e 100644 --- a/src/packages/mksite.py +++ b/src/packages/mksite.py @@ -145,6 +145,9 @@ def main(): ) ) symlink(config.FELIB + '/daily.py', config.LOCALHOME + '/daily/daily.py') + # we need to create an empty archnav.html in this directory for the + # current day special case (see bug #166551) + open(config.LOCALHOME + '/daily/archnav.html', 'w') # /ebuilds symlink(config.FELIB + '/query_ebuild.py', @@ -214,7 +217,7 @@ def main(): open(config.LOCALHOME + '/head.html', 'w').write(head()) symlink('archs/archnav.html', config.LOCALHOME + '/archnav.html') symlink('archs/index.shtml', config.LOCALHOME + '/index.shtml') - symlink('archs/head.shtml', config.LOCALHOME + '/head.shtml') + #symlink('archs/head.html', config.LOCALHOME + '/head.html') symlink('archs/gentoo.rss', config.LOCALHOME + '/gentoo.rss') symlink('archs/gentoo_simple.rss', config.LOCALHOME + '/gentoo_simple.rss') |