diff options
author | Sean Finney <seanius@debian.org> | 2008-06-24 08:24:23 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2008-06-24 08:24:23 +0200 |
commit | d59308962f37e1c723792837d9603ed093d2501b (patch) | |
tree | a06126e484cad2dd36b8d4545acf4a1800f40c09 | |
parent | 5aa42410150f113b556fe63b1a26adbcc1beb830 (diff) | |
download | patch-tracker-d59308962f37e1c723792837d9603ed093d2501b.tar.gz |
reference static content from unique path
...so we can alias it directly, which should allow
for the cleanest subdir vs. vhost support
-rwxr-xr-x | gen-patch-info.py | 2 | ||||
-rw-r--r-- | templates/skeleton.tmpl | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/gen-patch-info.py b/gen-patch-info.py index afe6b3e..3c8ae0d 100755 --- a/gen-patch-info.py +++ b/gen-patch-info.py @@ -42,6 +42,4 @@ if __name__ == '__main__': db.saveSourcePackage(p) db.relateSourcePackage(p,suite=s,component=c) - os.system("cp -a "+Conf.static_dir+"/* "+Conf.output_dir) - db.finalize() diff --git a/templates/skeleton.tmpl b/templates/skeleton.tmpl index cd4ff12..12c379a 100644 --- a/templates/skeleton.tmpl +++ b/templates/skeleton.tmpl @@ -3,7 +3,8 @@ <html> <head> <title>$title</title> - <link rel="stylesheet" type="text/css" href="$conf.root_url/css/patches.css"/> + <link rel="stylesheet" type="text/css" + href="$conf.root_url/static/css/patches.css"/> </head> <body> $body |