# HG changeset patch # User Chris Cannam # Date 1570713808 -3600 # Node ID c4a25a5e1745f143822a106611112b7989d3e791 # Parent 7148cc2b35bffbed882a4bfcbe4929b0d15f1855 Ah... Don't strip non-binaries diff -r 7148cc2b35bf -r c4a25a5e1745 deploy/linux/fix-lintian-bits.sh --- a/deploy/linux/fix-lintian-bits.sh Thu Oct 10 14:12:16 2019 +0100 +++ b/deploy/linux/fix-lintian-bits.sh Thu Oct 10 14:23:28 2019 +0100 @@ -7,7 +7,7 @@ set -eu strip "$dir"/usr/bin/* -strip "$dir"/usr/lib/*/* +strip "$dir"/usr/lib/*/*.so sz=`du -sx --exclude DEBIAN "$dir" | awk '{ print $1; }'` perl -i -p -e "s/Installed-Size: .*/Installed-Size: $sz/" "$dir"/DEBIAN/control