diff --git a/debian/changelog b/debian/changelog index 024547a..eabf39f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,8 +11,9 @@ ubuntu-dev-tools (0.102) UNRELEASED; urgency=low * suspicious-source: whitelist font source formats. Thanks to Nicolas Spalinger for the patch (LP: #365147). * Update the man page of suspicious-source to match the rewrite. + * syncpackage: Don't upload orig tarball if not needed. - -- Benjamin Drung Thu, 12 Aug 2010 01:11:45 +0200 + -- Benjamin Drung Sat, 14 Aug 2010 18:19:53 +0200 ubuntu-dev-tools (0.101) unstable; urgency=low diff --git a/syncpackage b/syncpackage index 668d2c5..2f5ba16 100755 --- a/syncpackage +++ b/syncpackage @@ -278,7 +278,9 @@ def sync_dsc(script_name, dscurl, debian_dist, release, name, email, bugs, keyid "-DOrigin=debian/" + debian_dist, "-e" + uploader] if need_orig: - cmd += ['-sa'] + cmd.append("-sa") + else: + cmd.append("-sd") if not verbose: cmd += ["-q"] if verbose: