diff --git a/debian/alternc-awstats.postinst b/debian/alternc-awstats.postinst index 84968eb9..d4337390 100755 --- a/debian/alternc-awstats.postinst +++ b/debian/alternc-awstats.postinst @@ -72,8 +72,7 @@ EOF chmod 770 /var/cache/awstats # Update rights on previous user's awstats configuration files - chown alterncpanel:root /etc/awstats/awstats.*.conf > /dev/null 2>&1 - chmod 644 /etc/awstats/awstats.log.alternc.conf + chown alterncpanel:root /etc/awstats/awstats.*.conf > /dev/null 2>&1 || true # ADD menu item : if ! grep -q "^menu_aws.php$" "$MENUFILE"; then