From 369f9e467f0bde5b5b63a6f1e88783b490194f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 16 May 2016 14:23:32 +0200 Subject: [PATCH] debian: fix dch distribution name on Raspbian --- tools/build-debian.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/build-debian.sh b/tools/build-debian.sh index 8db925839..5ccefc9b6 100755 --- a/tools/build-debian.sh +++ b/tools/build-debian.sh @@ -158,14 +158,16 @@ if [ -z "${DISTRO_TYPE}" -o -z "${DISTRO_NAME}" ]; then fi # set distro for dch -if [ "${DISTRO_TYPE}" = "debian" ]; then - DCH_DISTRO="unstable" -else +if [ "${DISTRO_TYPE}" = "ubuntu" ]; then + # ubuntu if [ "${VERSION}" = "devel" ]; then DCH_DISTRO="UNRELEASED" else DCH_DISTRO="${DISTRO_NAME}" fi +else + # debian/raspbian + DCH_DISTRO="unstable" fi if [ "${VERSION}" = "devel" ]; then