File: pull_translations.sh

package info (click to toggle)
xkeyboard-config 2.44-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 10,060 kB
  • sloc: xml: 10,005; python: 1,992; perl: 220; sh: 83; makefile: 19
file content (15 lines) | stat: -rwxr-xr-x 406 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#
# This script is for pulling the latest translations from Translation Project
#
# Assumption: executed from the top level xkeyboard-config directory
#

project=xkeyboard-config

if [ ! -d po ] ; then
	echo "No po subdirectory in the current directory, the script has to be executed from the top level $project directory"
	exit 1
fi

rsync -Lrtvz translationproject.org::tp/latest/$project/  po