summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2010-08-18 10:16:56 +0200
committerJulien Valroff <julien@kirya.net>2010-08-18 10:16:56 +0200
commit08fdbbebbc4f3daf8af14545378c18b715ab952c (patch)
tree7e0c6034dacf467ef00499dba41284386844cbd7
parentf670126ff78e9c38088530793adb6895911a5032 (diff)
Avoid error when cleaning the build directory on first build
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 0e8172f..581477c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,5 +11,5 @@ override_dh_auto_configure:
override_dh_auto_clean:
rm -f mailgraph
- mv -f mailgraph.cgi.orig mailgraph.cgi
+ [ ! -f mailgraph.cgi.orig ] || mv -f mailgraph.cgi.orig mailgraph.cgi
dh_auto_clean