wordpress/wordpress-autoupdate

6 lines
200 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
VERSION=$1
[ "$VERSION" ] || exit 0
MAJVER=$(echo $VERSION | cut -d. -f1-2)
curl https://downloads.wordpress.org/translation/core/${MAJVER}/it_IT.zip -o wordpress-i18n-it_IT-${MAJVER}.zip