diff options
author | Julien Valroff <julien@kirya.net> | 2010-08-18 10:13:45 +0200 |
---|---|---|
committer | Julien Valroff <julien@kirya.net> | 2010-08-18 10:13:45 +0200 |
commit | f670126ff78e9c38088530793adb6895911a5032 (patch) | |
tree | b7762e04dff4e0216145a06ddc778f09df1c6515 /debian/rules | |
parent | b8efa8bc85b3bea8bc2aed9a09701cf8003b0b89 (diff) |
Add the CSS directly into the CGI
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 76a9cb2..0e8172f 100755 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,12 @@ override_dh_auto_configure: ln mailgraph.pl mailgraph + cp -f -a mailgraph.cgi mailgraph.cgi.orig + sed -e 's/^<link rel="stylesheet" href="mailgraph.css" type="text\/css" \/>$/<style type="text\/css\">/' \ + -e '/<style type="text\/css">/r mailgraph.css' \ + -e '/<\/head>/i <\/style>' mailgraph.cgi override_dh_auto_clean: rm -f mailgraph + mv -f mailgraph.cgi.orig mailgraph.cgi dh_auto_clean |