fixes
This commit is contained in:
parent
4076c4b4ef
commit
bb9f73a4ea
@ -151,14 +151,13 @@ gen_server_x509() {
|
||||
|
||||
install_openssl() {
|
||||
set +e
|
||||
type openssl >/dev/null
|
||||
type openssl >/dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
return;
|
||||
fi
|
||||
|
||||
grep -q Ubuntu /etc/lsb-release
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "[${ME}] Installing openssl in Ubuntu"
|
||||
if [ -f /etc/debian_version ]; then
|
||||
echo "[${ME}] Installing openssl in Debian/Ubuntu"
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update
|
||||
apt-get -y install openssl
|
||||
|
Loading…
Reference in New Issue
Block a user