Update Rights on previous conf IF EXISTS
This commit is contained in:
parent
072ac6bdce
commit
0a5856e4c5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue