diff options
author | 2007-01-06 15:12:31 +0000 | |
---|---|---|
committer | 2007-01-06 15:12:31 +0000 | |
commit | c06010ff80e52b99876f31ecea0ce59aca6f6c50 (patch) | |
tree | 4188ca9dd923fcea0407248e5fcdcc80ec34050e | |
parent | Making "alternate" links relative instead of absolute as Epiphany, Firefox, (diff) | |
download | gentoo-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.py | 7 |
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) |