blob: 68fa9425fa77eb974f0b51957936afa2925e592f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_configure:
ln mailgraph.pl mailgraph
cp -f -a mailgraph.cgi mailgraph.cgi.orig
sed -i -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
[ ! -f mailgraph.cgi.orig ] || mv -f mailgraph.cgi.orig mailgraph.cgi
dh_auto_clean
|