Added sendmail dependency
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# [WordOps](https://wordops.org/)
|
# [WordOps](https://wordops.org/)
|
||||||
|
|
||||||
|
[](https://travis-ci.org/WordOps/WordOps)
|
||||||
|
|
||||||
WordOps (wo) is the essential toolset that eases WordPress site and server administration.
|
WordOps (wo) is the essential toolset that eases WordPress site and server administration.
|
||||||
|
|
||||||
**WordOps currently supports:**
|
**WordOps currently supports:**
|
||||||
|
|||||||
4
install
4
install
@@ -86,9 +86,9 @@ fi
|
|||||||
function wo_install_dep()
|
function wo_install_dep()
|
||||||
{
|
{
|
||||||
if [ "$wo_linux_distro" == "Ubuntu" ]; then
|
if [ "$wo_linux_distro" == "Ubuntu" ]; then
|
||||||
apt-get -y install build-essential curl gzip python3 python3-apt python3-setuptools python3-dev sqlite3 git tar software-properties-common || wo_lib_error "There was an error during dependency installation, exit status " 1
|
apt-get -y install build-essential curl gzip python3 python3-apt python3-setuptools python3-dev sqlite3 git tar software-properties-common sendmail || wo_lib_error "There was an error during dependency installation, exit status " 1
|
||||||
elif [ "$wo_linux_distro" == "Debian" ]; then
|
elif [ "$wo_linux_distro" == "Debian" ]; then
|
||||||
apt-get -y install build-essential curl gzip dirmngr python3 python3-apt python3-setuptools python3-dev sqlite3 git tar python-software-properties || wo_lib_error "There was an error during dependency installation, exit status " 1
|
apt-get -y install build-essential curl gzip dirmngr python3 python3-apt python3-setuptools python3-dev sqlite3 git tar python-software-properties sendmail || wo_lib_error "There was an error during dependency installation, exit status " 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Generate the locale, output to the blackhole rather than STDOUT
|
# Generate the locale, output to the blackhole rather than STDOUT
|
||||||
|
|||||||
@@ -169,13 +169,12 @@ class WOVariables():
|
|||||||
wo_mysql = ["mariadb-server", "percona-toolkit"]
|
wo_mysql = ["mariadb-server", "percona-toolkit"]
|
||||||
|
|
||||||
# HHVM repo details
|
# HHVM repo details
|
||||||
# 12.04 requires boot repository
|
|
||||||
if wo_platform_distro == 'ubuntu':
|
if wo_platform_distro == 'ubuntu':
|
||||||
if wo_platform_codename == "precise":
|
if wo_platform_codename == "precise":
|
||||||
wo_boost_repo = ("ppa:mapnik/boost")
|
wo_boost_repo = ("ppa:mapnik/boost")
|
||||||
wo_hhvm_repo = ("deb http://dl.hhvm.com/ubuntu {codename} main"
|
wo_hhvm_repo = ("deb http://dl.hhvm.com/ubuntu {codename} main"
|
||||||
.format(codename=wo_platform_codename))
|
.format(codename=wo_platform_codename))
|
||||||
elif wo_platform_codename == "trusty":
|
elif wo_platform_codename == "trusty" or wo_platform_codename == "xenial" or wo_platform_codename == "bionic":
|
||||||
wo_hhvm_repo = ("deb http://dl.hhvm.com/ubuntu {codename} main"
|
wo_hhvm_repo = ("deb http://dl.hhvm.com/ubuntu {codename} main"
|
||||||
.format(codename=wo_platform_codename))
|
.format(codename=wo_platform_codename))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user