Fix the issues with filenames for the md5sums
Lintian reported missing md5sums for all files under usr/ and reported the existence of md5sums for all files under /usr that we're not in the package.
This commit is contained in:
@@ -61,7 +61,7 @@ sed "s/{VERSION}/$VERSION/" DEBIAN/control | sed "s/{SIZE}/$PACKAGE_SIZE/" > "${
|
|||||||
pushd "${DEB_BUILD_ROOT}" >/dev/null
|
pushd "${DEB_BUILD_ROOT}" >/dev/null
|
||||||
|
|
||||||
# Calculate md5sums and clean up the ./usr/ part of them
|
# Calculate md5sums and clean up the ./usr/ part of them
|
||||||
find . -type f -not -path "./DEBIAN/*" -print0 | xargs -0 -n1 md5sum | sed 's|\./usr/|/usr/|' > DEBIAN/md5sums
|
find . -type f -not -path "./DEBIAN/*" -print0 | xargs -0 -n1 md5sum | sed 's|\./usr/|usr/|' > DEBIAN/md5sums
|
||||||
chmod 0644 DEBIAN/md5sums
|
chmod 0644 DEBIAN/md5sums
|
||||||
|
|
||||||
# Replace any dashes in the version string with periods
|
# Replace any dashes in the version string with periods
|
||||||
|
|||||||
Reference in New Issue
Block a user