File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -95,8 +95,8 @@ function check_distro() {
95
95
# currently only for Ubuntu 16.04
96
96
if [[ -r /etc/os-release ]]; then
97
97
. /etc/os-release
98
- if [[ " ${VERSION_ID} " != " 16.04" ]]; then
99
- echo " This script only supports ubuntu 16.04 LTS, exiting."
98
+ if [[ " ${VERSION_ID} " != " 16.04" ]] && [[ " ${VERSION_ID} " != " 18.04 " ]] ; then
99
+ echo " This script only supports Ubuntu 16.04 & 18 .04 LTS, exiting."
100
100
exit 1
101
101
fi
102
102
else
@@ -120,6 +120,12 @@ function install_packages() {
120
120
libboost-all-dev libssl-dev make autoconf libtool git apt-utils g++ \
121
121
libprotobuf-dev pkg-config libcurl3-dev libudev-dev libqrencode-dev bsdmainutils \
122
122
pkg-config libssl-dev libgmp3-dev libevent-dev jp2a pv virtualenv libdb4.8-dev libdb4.8++-dev & >> ${SCRIPT_LOGFILE}
123
+
124
+ # only for 18.04 // openssl
125
+ if [[ " ${VERSION_ID} " == " 18.04" ]] ; then
126
+ apt-get -qqy -o=Dpkg::Use-Pty=0 -o=Acquire::ForceIPv4=true install libssl1.0-dev
127
+ fi
128
+
123
129
}
124
130
125
131
#
You can’t perform that action at this time.
0 commit comments