From 88b7e70d640e506ee209ebfb8311c921bc2b0f89 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Thu, 21 Apr 2011 21:38:25 +1200 Subject: [PATCH] Retain old deb package naming to avoid breaking the website --- packaging/linux/deb/buildpackage.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packaging/linux/deb/buildpackage.sh b/packaging/linux/deb/buildpackage.sh index ce2ed38f96..99010bef1d 100755 --- a/packaging/linux/deb/buildpackage.sh +++ b/packaging/linux/deb/buildpackage.sh @@ -49,8 +49,11 @@ 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 +# 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 -fakeroot dpkg-deb -b . $3 +fakeroot dpkg-deb -b . $3/openra_${PKGVERSION}_all.deb # Clean up popd