6 lines
200 B
Bash
6 lines
200 B
Bash
#!/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
|