summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Hopkins <marduk@gentoo.org>2007-01-06 15:12:31 +0000
committerAlbert Hopkins <marduk@gentoo.org>2007-01-06 15:12:31 +0000
commitc06010ff80e52b99876f31ecea0ce59aca6f6c50 (patch)
tree4188ca9dd923fcea0407248e5fcdcc80ec34050e
parentMaking "alternate" links relative instead of absolute as Epiphany, Firefox, (diff)
downloadgentoo-c06010ff80e52b99876f31ecea0ce59aca6f6c50.tar.gz
gentoo-c06010ff80e52b99876f31ecea0ce59aca6f6c50.tar.bz2
gentoo-c06010ff80e52b99876f31ecea0ce59aca6f6c50.zip
Oops, forgot to create index.shtml in the /arch dirs
-rw-r--r--src/packages/mksite.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/packages/mksite.py b/src/packages/mksite.py
index 6d188a414d..7c406d5c36 100644
--- a/src/packages/mksite.py
+++ b/src/packages/mksite.py
@@ -61,6 +61,7 @@ def do_arch():
# create arch dirs
arch_dir = config.LOCALHOME + '/archs'
+ index = open(config.FELIB + '/index.shtml', 'r').read()
for arch in ['.'] + archList:
either = arch_dir + '/' + arch
stable = either + '/stable'
@@ -78,9 +79,13 @@ def do_arch():
open(stable + '/archnav.html', 'w').write(archbar)
archbar = genarchbar(config.FEHOME, arch, 'testing')
open(testing + '/archnav.html', 'w').write(archbar)
+
+ # index.shtml
+ open(either + '/index.shtml', 'w').write(index)
+ open(stable + '/index.shtml', 'w').write(index)
+ open(testing + '/index.shtml', 'w').write(index)
# main /arch dir
- index = open(config.FELIB + '/index.shtml', 'r').read()
archbar = genarchbar(config.FEHOME, '', '')
open(arch_dir + '/archnav.html', 'w').write(archbar)
open(arch_dir + '/index.shtml', 'w').write(index)