Set domain name

This commit is contained in:
Bob Mottram 2018-05-19 22:27:36 +01:00
parent 9e5b32d42c
commit ef52dc23b7
1 changed files with 1 additions and 4 deletions

View File

@ -310,10 +310,7 @@ function install_smolrss {
apt-get -yq install php-gettext php-curl php-gd php-mysql git curl
apt-get -yq install memcached php-memcached php-intl exiftool libfcgi0ldbl
if [ ! "$SMOLRSS_DOMAIN_NAME" ]; then
echo $'No domain name was given'
exit 3568356
fi
SMOLRSS_DOMAIN_NAME='smolrss.local'
if [ -d "/var/www/$SMOLRSS_DOMAIN_NAME/htdocs" ]; then
rm -rf "/var/www/$SMOLRSS_DOMAIN_NAME/htdocs"