debian: fix dch distribution name on Raspbian

This commit is contained in:
Sébastien Helleu 2016-05-16 14:23:32 +02:00
parent 1b21fa1816
commit 369f9e467f

View File

@ -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