File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
appengine/standard/wordpress Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ set -u
1010log=$( mktemp)
1111
1212echo " Fetching, unpacking and patching the latest version of WordPress."
13- curl --silent https://wordpress.org/latest.zip > wordpress.zip \
14- || die " Failed to fetch latest version of WordPress. "
15- unzip wordpress.zip > $log || die " Failed to unzip wordpress.zip : $( tail $log ) "
16- curl --silent https://downloads.wordpress.org/plugin /wp-stateless. 2.1.1.zip > wp-stateless.zip \
17- || die " Failed to fetch wp-stateless. "
18- unzip wp-stateless.zip > $log || die " Failed to unzip wp-stateless.zip : $( tail $log ) "
19- mv wp-stateless wordpress/wp-content/plugins & > $log \
13+ curl -L https://wordpress.org/latest.tar.gz 2> $log > wordpress.tar.gz \
14+ || die " Failed to fetch latest version of WordPress: $( cat $log ) "
15+ tar xzvf wordpress.tar.gz & > $log || die " Failed to untar wordpress tarball : $( tail $log ) "
16+ curl -L https://github.com/wpCloud /wp-stateless/archive/ 2.1.1.tar.gz 2> $log > wp-stateless.tar.gz \
17+ || die " Failed to fetch wp-stateless plugin: $( cat $log ) "
18+ tar xzvf wp-stateless.tar.gz & > $log || die " Failed to untar wp-stateless tarball : $( tail $log ) "
19+ mv wp-stateless-2.1.1 wordpress/wp-content/plugins & > $log \
2020 || die " Failed to move wp-stateless plugin into place: $( cat $log ) "
2121cd wordpress || die " Failed to cd into wordpress."
2222# Force WordPress not to prepend ABSPATH to UPLOADS since we have
You can’t perform that action at this time.
0 commit comments