diff options
author | Niels Thykier <niels@thykier.net> | 2015-11-02 21:36:32 +0100 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2015-11-02 21:37:20 +0100 |
commit | 505fa4d6b157bbcc810c5126a65c5fca1899161e (patch) | |
tree | 6674caf1c80f2740fbc8e17f4573d54aff7ec531 /dh_clean | |
parent | 4a459de32a1625d6aacec3c7a44b93603d649cf4 (diff) | |
download | debhelper-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-x | dh_clean | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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}) { |