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