freenetis-github/tests/deb_package_check.sh @ 9c8950bf
44b9036b | Ondřej Fibich | #!/bin/sh
|
|
e3261f5a | Ondřej Fibich | ||
set -e
|
|||
MODULE=freenetis
|
|||
VERSION=`cat version.php | grep "FREENETIS_VERSION" | cut -d"'" -f 4`
|
|||
DEB_PREFIX=deb_packages/freenetis_${VERSION}
|
|||
44b9036b | Ondřej Fibich | DEBIANS="lenny squeeze wheezy jessie"
|
|
e3261f5a | Ondřej Fibich | ||
cd application/vendors/deb/freenetis
|
|||
44b9036b | Ondřej Fibich | mkdir ../deb_packages 2>/dev/null || true # fix in source
|
|
e3261f5a | Ondřej Fibich | ||
44b9036b | Ondřej Fibich | echo "$DEBIANS" | tr " " "\n" | while read OS
|
|
e3261f5a | Ondřej Fibich | do
|
|
echo "Debianization for $VERSION $OS"
|
|||
./debianization.sh "$VERSION" "$OS"
|
|||
echo "Checking package for $VERSION $OS"
|
|||
lintian ../${DEB_PREFIX}+${OS}.deb
|
|||
done
|