Commit 0a5856e4 authored by Axel ROGER's avatar Axel ROGER

Update Rights on previous conf IF EXISTS

parent 072ac6bd
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment