minor fixes
This commit is contained in:
1
install
1
install
@@ -136,6 +136,7 @@ wo_install_dep()
|
|||||||
if [ "$wo_linux_distro" == "Ubuntu" ]; then
|
if [ "$wo_linux_distro" == "Ubuntu" ]; then
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confmiss" -o Dpkg::Options::="--force-confold" -y install build-essential curl gzip python3 python3-apt python3-setuptools python3-dev sqlite3 git tar software-properties-common pigz gnupg2 fail2ban cron ccze > /dev/null 2>&1
|
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confmiss" -o Dpkg::Options::="--force-confold" -y install build-essential curl gzip python3 python3-apt python3-setuptools python3-dev sqlite3 git tar software-properties-common pigz gnupg2 fail2ban cron ccze > /dev/null 2>&1
|
||||||
else
|
else
|
||||||
|
wget -qO /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confmiss" -o Dpkg::Options::="--force-confold" -y install build-essential curl gzip dirmngr sudo python3 python3-apt python3-setuptools python3-dev ca-certificates sqlite3 git tar software-properties-common pigz apt-transport-https gnupg2 fail2ban cron ccze > /dev/null 2>&1
|
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confmiss" -o Dpkg::Options::="--force-confold" -y install build-essential curl gzip dirmngr sudo python3 python3-apt python3-setuptools python3-dev ca-certificates sqlite3 git tar software-properties-common pigz apt-transport-https gnupg2 fail2ban cron ccze > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import glob
|
|||||||
def addNewSite(self, site, stype, cache, path,
|
def addNewSite(self, site, stype, cache, path,
|
||||||
enabled=True, ssl=False, fs='ext4', db='mysql',
|
enabled=True, ssl=False, fs='ext4', db='mysql',
|
||||||
db_name=None, db_user=None, db_password=None,
|
db_name=None, db_user=None, db_password=None,
|
||||||
db_host='localhost', hhvm=0, php_version='5.5'):
|
db_host='localhost', hhvm=0, php_version='7.2'):
|
||||||
"""
|
"""
|
||||||
Add New Site record information into the wo database.
|
Add New Site record information into the wo database.
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user