summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swift/Packaging/Debian/update_debian_repo.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/Swift/Packaging/Debian/update_debian_repo.sh b/Swift/Packaging/Debian/update_debian_repo.sh
index 6a337fb..d62a376 100644
--- a/Swift/Packaging/Debian/update_debian_repo.sh
+++ b/Swift/Packaging/Debian/update_debian_repo.sh
@@ -66,3 +66,3 @@ Multiple: Yes
Cleanup: unused_files on_error
-Permit: older_version
+Permit: unused_files older_version
EOM
@@ -91,2 +91,8 @@ for full_distribution_path in $INCOMING_FOLDER/{debian,ubuntu}/*; do
+ # This is workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808558
+ # and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843402
+ if [ "$distro_name/$distro_version" = "debian/sid" ]; then
+ sed -i '/dbgsym/ d' $full_distribution_path/*.changes
+ fi
+
echo "Process incoming packages for $distro_name/$distro_version"