diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-05-16 14:23:32 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-05-16 14:23:32 +0200 |
commit | 369f9e467f0bde5b5b63a6f1e88783b490194f52 (patch) | |
tree | 65adb739a6664909f2a7b49558ce44ec25e65a3e /tools | |
parent | 1b21fa181652f0ba7bb0d661caf235828407494c (diff) | |
download | weechat-369f9e467f0bde5b5b63a6f1e88783b490194f52.zip |
debian: fix dch distribution name on Raspbian
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build-debian.sh | 8 |
1 files 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 |