diff --git a/servatrice/scripts/linux/maint_countrycodes b/servatrice/scripts/linux/maint_countrycodes index 81af8943..32d78628 100644 --- a/servatrice/scripts/linux/maint_countrycodes +++ b/servatrice/scripts/linux/maint_countrycodes @@ -27,5 +27,10 @@ do fi fi done + +if [ "$MODE" == "correct" ]; then + mysql --defaults-file=$SQLCONFFILE -h localhost -e "update ""$DBNAME"".""$TABLEPREFIX""_users set country = lower(country);" +fi + echo "INVALID: $INVALIDCOUNT" echo "VALID: $VALIDCOUNT"