[PATCH] delete rather than rename the upstream debian/ directory.

Reinhard Tartler siretart at tauware.de
Sat Mar 7 15:09:50 UTC 2009


Since we don't need it anyway, we can as wenn just remove it. Originally
suggested by Fabian Greffrath.
---
 debian/get-orig-source.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/get-orig-source.sh b/debian/get-orig-source.sh
index a054b7f..632e320 100644
--- a/debian/get-orig-source.sh
+++ b/debian/get-orig-source.sh
@@ -99,7 +99,7 @@ done
 
 # this doesn't belong in strip.sh, because the unstripped source should
 # have this directory renamed as well.
-( cd ${TMPDIR}/${PACKAGENAME} && mv debian debian_upstream )
+( cd ${TMPDIR}/${PACKAGENAME} && rm -rfv debian )
 
 
 tar czf ${TARBALL_UNSTRIPPED} -C ${TMPDIR} ${PACKAGENAME}


Last but not least a rather uncontroversial change (at least I think):
rename the toplevel directory of the generated tarballs. This has been
requested by Christian Marillat who does not use dpkg-source for
extracting source packages for some reason.



More information about the pkg-multimedia-maintainers mailing list