wordpress/update
2023-05-26 16:44:54 +10:00

9 lines
207 B
Bash
Executable File

#!/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/