Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
7c81f8a6
Commit
7c81f8a6
authored
Aug 11, 2015
by
woogerboy21
Browse files
Added lower case country code on correction.
parent
f636c0ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
servatrice/scripts/linux/maint_countrycodes
View file @
7c81f8a6
...
@@ -27,5 +27,10 @@ do
...
@@ -27,5 +27,10 @@ do
fi
fi
fi
fi
done
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
"INVALID:
$INVALIDCOUNT
"
echo
"VALID:
$VALIDCOUNT
"
echo
"VALID:
$VALIDCOUNT
"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment