wordpress/update

9 lines
207 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
apk add rsync
[ -d /var/www/html/wp-includes ] && rm -rf /var/www/html/wp-includes
[ -d /var/www/html/wp-admin ] && rm -rf /var/www/html/wp-admin
rsync -xaHvP /usr/src/wordpress/ /var/www/html/