From: martin f. krafft Date: Fri, 6 Nov 2009 09:18:14 +0000 (+0100) Subject: also remove the dpkgv3 patch stamp file X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=e076b1866e4ffb05c3c0bd9bcd52f4898941cadf;p=topgit.git also remove the dpkgv3 patch stamp file Signed-off-by: martin f. krafft --- diff --git a/debian/tg2quilt.mk b/debian/tg2quilt.mk index 671dc04..70ad402 100644 --- a/debian/tg2quilt.mk +++ b/debian/tg2quilt.mk @@ -124,6 +124,8 @@ else rm -f $(__TG_FILES) # remove the series file rm -f $(QUILT_PATCH_DIR)/series + # remove dpkg v3 file + rm -f $(QUILT_PATCH_DIR)/.dpkg-source-applied # try to remove directories find $(QUILT_PATCH_DIR) -depth -type d -empty -execdir rmdir {} + # fail if the directory could not be removed and still exists