Update Rights on previous conf IF EXISTS

This commit is contained in:
Axel ROGER 2013-04-05 15:11:55 +00:00
parent 072ac6bdce
commit 0a5856e4c5
1 changed files with 1 additions and 2 deletions

View File

@ -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