Retain old deb package naming to avoid breaking the website

This commit is contained in:
Paul Chote
2011-04-21 21:38:25 +12:00
parent 60ce83e696
commit 88b7e70d64

View File

@@ -49,8 +49,11 @@ pushd root
# Calculate md5sums and clean up the /usr/ part of them # Calculate md5sums and clean up the /usr/ part of them
md5sum `find . -type f | grep -v '^[.]/DEBIAN/'` | sed 's/\.\/usr\//usr\//g' > DEBIAN/md5sums md5sum `find . -type f | grep -v '^[.]/DEBIAN/'` | sed 's/\.\/usr\//usr\//g' > DEBIAN/md5sums
# Replace any dashes in the version string with periods
PKGVERSION=`echo $1 | sed "s/-/\\./g"`
# Start building, the file should appear in the output directory # Start building, the file should appear in the output directory
fakeroot dpkg-deb -b . $3 fakeroot dpkg-deb -b . $3/openra_${PKGVERSION}_all.deb
# Clean up # Clean up
popd popd