diff --git a/_homebrew.sh b/_homebrew.sh index f252f93..77e3233 100755 --- a/_homebrew.sh +++ b/_homebrew.sh @@ -140,6 +140,15 @@ brew doctor brew missing echo "" +# Test if Apache conf file has been modified by Homebrew (Apache, PHP or Python updates) + +dir="/usr/local/etc/httpd" +name="httpd.conf" + +test=$(find $dir -name "$name" -mmin -5 -maxdepth 1) +[ ! -z $test ] && echo -e "\033[1;31m$name was modified in the last 5 minutes\033[0m" + + # Homebrew 2.0.0+ run a cleanup every 30 days if [[ $1 == "--cleanup" ]]; then