diff --git a/src/freedombone b/src/freedombone index 6f99e4fb..5a402bde 100755 --- a/src/freedombone +++ b/src/freedombone @@ -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