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
26b95607
Commit
26b95607
authored
Aug 11, 2015
by
Zach
Browse files
Merge pull request #1367 from woogerboy21/add_script_maintcountrycodes
Added lower case country code on correction.
parents
bf230f2c
7c81f8a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
servatrice/scripts/linux/maint_countrycodes
View file @
26b95607
...
@@ -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