Set domain name
This commit is contained in:
parent
9e5b32d42c
commit
ef52dc23b7
|
@ -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 php-gettext php-curl php-gd php-mysql git curl
|
||||||
apt-get -yq install memcached php-memcached php-intl exiftool libfcgi0ldbl
|
apt-get -yq install memcached php-memcached php-intl exiftool libfcgi0ldbl
|
||||||
|
|
||||||
if [ ! "$SMOLRSS_DOMAIN_NAME" ]; then
|
SMOLRSS_DOMAIN_NAME='smolrss.local'
|
||||||
echo $'No domain name was given'
|
|
||||||
exit 3568356
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "/var/www/$SMOLRSS_DOMAIN_NAME/htdocs" ]; then
|
if [ -d "/var/www/$SMOLRSS_DOMAIN_NAME/htdocs" ]; then
|
||||||
rm -rf "/var/www/$SMOLRSS_DOMAIN_NAME/htdocs"
|
rm -rf "/var/www/$SMOLRSS_DOMAIN_NAME/htdocs"
|
||||||
|
|
Loading…
Reference in New Issue