not
This commit is contained in:
parent
39db2ddc5e
commit
8674f63771
|
@ -8601,10 +8601,10 @@ function install_gnu_social {
|
||||||
if [ ! -f "/etc/aliases" ]; then
|
if [ ! -f "/etc/aliases" ]; then
|
||||||
touch /etc/aliases
|
touch /etc/aliases
|
||||||
fi
|
fi
|
||||||
if grep -q "www-data: root" /etc/aliases; then
|
if ! grep -q "www-data: root" /etc/aliases; then
|
||||||
echo 'www-data: root' >> /etc/aliases
|
echo 'www-data: root' >> /etc/aliases
|
||||||
fi
|
fi
|
||||||
if grep -q "/var/www/$MICROBLOG_DOMAIN_NAME/htdocs/scripts/maildaemon.php" /etc/aliases; then
|
if ! grep -q "/var/www/$MICROBLOG_DOMAIN_NAME/htdocs/scripts/maildaemon.php" /etc/aliases; then
|
||||||
echo "*: /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/scripts/maildaemon.php" >> /etc/aliases
|
echo "*: /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/scripts/maildaemon.php" >> /etc/aliases
|
||||||
fi
|
fi
|
||||||
newaliases
|
newaliases
|
||||||
|
|
Loading…
Reference in New Issue