diff options
author | Sven Weidauer <sven@5sw.de> | 2018-02-10 00:20:05 +0100 |
---|---|---|
committer | Sven Weidauer <sven@5sw.de> | 2018-02-10 00:20:05 +0100 |
commit | 885c5ac91823b2f3d94e72028f603274d5cb3a42 (patch) | |
tree | 2caeb4ccc21283be8ad458de502234922f6851c7 /docs | |
parent | 7b4163e0216538823630113ed7534c319e19c385 (diff) | |
parent | 470dce645bc9cfca1d438f62a8ffe7a6db80a278 (diff) | |
download | netsurf-885c5ac91823b2f3d94e72028f603274d5cb3a42.tar.gz netsurf-885c5ac91823b2f3d94e72028f603274d5cb3a42.tar.bz2 |
Merge remote-tracking branch 'origin/master' into svenw/cocoa
Diffstat (limited to 'docs')
-rw-r--r-- | docs/env.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/env.sh b/docs/env.sh index bb2cbabea..f1c89a84f 100644 --- a/docs/env.sh +++ b/docs/env.sh @@ -25,7 +25,7 @@ ############################################################################### # deb packages for dpkg based systems -NS_DEV_DEB="build-essential pkg-config git gperf libcurl3-dev libssl-dev libpng-dev libjpeg-dev" +NS_DEV_DEB="build-essential pkg-config git gperf libcurl3-dev libpng-dev libjpeg-dev" NS_TOOL_DEB="flex bison libhtml-parser-perl" if [ "x${NETSURF_GTK_MAJOR}" = "x3" ]; then NS_GTK_DEB="libgtk-3-dev librsvg2-dev" @@ -36,6 +36,11 @@ fi # apt get commandline to install necessary dev packages ns-apt-get-install() { + if /usr/bin/apt-cache show libssl1.0-dev >/dev/null 2>&1; then + NS_DEV_DEB="${NS_DEV_DEB} libssl1.0-dev" + else + NS_DEV_DEB="${NS_DEV_DEB} libssl-dev" + fi sudo apt-get install $(echo ${NS_DEV_DEB} ${NS_TOOL_DEB} ${NS_GTK_DEB}) } |