diff --git a/packaging/linux/deb/buildpackage.sh b/packaging/linux/deb/buildpackage.sh index 41fa3a466b..74d2e6bb4a 100755 --- a/packaging/linux/deb/buildpackage.sh +++ b/packaging/linux/deb/buildpackage.sh @@ -44,6 +44,7 @@ pushd root # Calculate md5sums and clean up the /usr/ part of them md5sum `find . -type f | grep -v '^[.]/DEBIAN/'` | sed 's/\.\/usr\//usr\//g' > DEBIAN/md5sums +chmod 0644 DEBIAN/md5sums # Replace any dashes in the version string with periods PKGVERSION=`echo $1 | sed "s/-/\\./g"`