debian: fix dch distribution name on Raspbian
This commit is contained in:
parent
1b21fa1816
commit
369f9e467f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user