not
This commit is contained in:
parent
39db2ddc5e
commit
8674f63771
|
@ -8601,10 +8601,10 @@ function install_gnu_social {
|
|||
if [ ! -f "/etc/aliases" ]; then
|
||||
touch /etc/aliases
|
||||
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
|
||||
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
|
||||
fi
|
||||
newaliases
|
||||
|
|
Loading…
Reference in New Issue