Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (20 sloc) 1.49 KB

Please use wp-cli instead which is officially supported.


Author: Timothy Guan-tin Chien <>

These scripts helps you install/upgrade your WordPress installations through the official WordPress subversion repository and the localization repository. It will detect latest version number using APIs provided by WordPress. It is not recommended to run upgrade script using crontab unless you have written your own backup script with it.

Happy blogging. =)


Options can be specified thourgh environment variable, such as

WP_LANG=zh_TW ./

Available options:

  • WP_LANG: the locale to use for the installation. The upgrade script comes with a detection command, so there is no need to specify it.
  • PROTOCOL: The protocol to talk to WordPress servers. Default to https. You may switch to http for your own reasons.

theme/plugins management with svn:externals

If you are comfortable using svn to do more things, you can track and update your themes and plugins with svn:externals. and will open up your default editor (set in $EDITOR), ask you in update the list, and set it back to the directory. Most of the WordPress plugins/themes are tagged on You can find the URL in the Developers sections in the plugin page in WordPress Plugin/Theme Directory.