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
 | 
					    chmod 770 /var/cache/awstats
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Update rights on previous user's awstats configuration files
 | 
					    # Update rights on previous user's awstats configuration files
 | 
				
			||||||
    chown alterncpanel:root /etc/awstats/awstats.*.conf > /dev/null 2>&1
 | 
					    chown alterncpanel:root /etc/awstats/awstats.*.conf > /dev/null 2>&1 || true
 | 
				
			||||||
    chmod 644 /etc/awstats/awstats.log.alternc.conf
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # ADD menu item :
 | 
					    # ADD menu item :
 | 
				
			||||||
    if ! grep -q "^menu_aws.php$" "$MENUFILE"; then
 | 
					    if ! grep -q "^menu_aws.php$" "$MENUFILE"; then
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue