summaryrefslogtreecommitdiff
path: root/dh_clean
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2015-11-02 21:36:32 +0100
committerNiels Thykier <niels@thykier.net>2015-11-02 21:37:20 +0100
commit505fa4d6b157bbcc810c5126a65c5fca1899161e (patch)
tree6674caf1c80f2740fbc8e17f4573d54aff7ec531 /dh_clean
parent4a459de32a1625d6aacec3c7a44b93603d649cf4 (diff)
downloaddebhelper-505fa4d6b157bbcc810c5126a65c5fca1899161e.tar.gz
Remove all compat(1) and compat(2) "guards"
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_clean')
-rwxr-xr-xdh_clean5
1 files changed, 1 insertions, 4 deletions
diff --git a/dh_clean b/dh_clean
index cd337aca..34b3d1ac 100755
--- a/dh_clean
+++ b/dh_clean
@@ -100,9 +100,6 @@ doit('rm', '-rf', 'debian/.debhelper/') if not $dh{D_FLAG};
# Remove all debhelper logs.
if (! $dh{D_FLAG} && ! $dh{K_FLAG}) {
complex_doit("rm","-f","debian/*.debhelper.log");
- if (compat(1)) {
- doit("rm","-f","debian/debhelper.log");
- }
}
if (! $dh{D_FLAG}) {
@@ -142,7 +139,7 @@ if (! $dh{D_FLAG}) {
\\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \\) \\)");
}
-doit('rm', '-rf', 'debian/tmp') if -x 'debian/tmp' && ! compat(1) &&
+doit('rm', '-rf', 'debian/tmp') if -x 'debian/tmp' &&
! excludefile("debian/tmp");
if (!compat(6) && !$dh{K_FLAG}) {