1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 001_emptyfile.dpatch by Kevin Coyner <kcoyner@debian.org>
4
## DP: allows empty css files to be generated, which are actually valid.
5
## DP: thanks to Bastian Kleineidam <calvin@debian.org>
8
diff -urNad csstidy-1.4~/csstidy/print_css.cpp csstidy-1.4/csstidy/print_css.cpp
9
--- csstidy-1.4~/csstidy/print_css.cpp 2007-07-10 10:20:52.000000000 -0400
10
+++ csstidy-1.4/csstidy/print_css.cpp 2007-09-21 22:13:06.000000000 -0400
13
if(css.empty() && charset == "" && namesp == "" && import.empty() && csstokens.empty())
15
- if(!settings["silent"]) cout << "Invalid CSS!" << endl;
17
+ if(!settings["silent"]) cout << "Warning: empty CSS output!" << endl;