From 3ed41d93b0a61f00aa8a0b8ec084973b20956b3d Mon Sep 17 00:00:00 2001 From: Ingo Mueller Date: Tue, 30 Oct 2018 10:49:13 +0100 Subject: [PATCH] Correct package name of libprotobuf in setup.sh. The name is libprotobuf-c-dev, like in Ubuntu, for all versions I checked: * [Jessie](https://packages.debian.org/search?suite=jessie&searchon=names&keywords=libprotobuf-c-dev) * [Strech](https://packages.debian.org/search?suite=stretch&searchon=names&keywords=libprotobuf-c-dev) * [Buster](https://packages.debian.org/search?suite=buster&searchon=names&keywords=libprotobuf-c-dev) * [Sid](https://packages.debian.org/search?suite=sid&searchon=names&keywords=libprotobuf-c-dev) --- scripts/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup.sh b/scripts/setup.sh index 487e76d..0088212 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -18,7 +18,7 @@ CTEMPLATE_PKGS="libctemplate-dev" LIBPROTOBUF="libprotobuf-c0-dev" OS_ID=$(lsb_release -i -s) OS_RELEASE=`lsb_release -r -s | awk '{split( $0, a, "."); print a[ 1]}'` -if [ $OS_ID == "Ubuntu" -a $OS_RELEASE -gt 14 ] +if [ $OS_ID == "Ubuntu" -a $OS_RELEASE -gt 14 ] || [ $OS_ID == "Debian" ] then LIBPROTOBUF="libprotobuf-c-dev" fi