diff options
author | Christopher Roy Bratusek <nano@jpberlin.de> | 2015-08-13 20:07:18 +0200 |
---|---|---|
committer | Christopher Roy Bratusek <nano@jpberlin.de> | 2015-08-13 20:07:18 +0200 |
commit | 37ad5f3027b82e55766cfbff06616ba03dc674e3 (patch) | |
tree | 13b5c65477a4bab6ab44add64e0cab24a651d039 /debian | |
parent | Update Debian GNU/Linux packaging scripts (diff) | |
download | lumina-37ad5f3027b82e55766cfbff06616ba03dc674e3.tar.gz lumina-37ad5f3027b82e55766cfbff06616ba03dc674e3.tar.bz2 lumina-37ad5f3027b82e55766cfbff06616ba03dc674e3.zip |
improve debian/merge-lumina-i18n.sh
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/merge-lumina-i18n.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/debian/merge-lumina-i18n.sh b/debian/merge-lumina-i18n.sh index 66194513..7bdded0c 100755 --- a/debian/merge-lumina-i18n.sh +++ b/debian/merge-lumina-i18n.sh @@ -23,5 +23,11 @@ for lng in ${LANGS[@]}; do done echo "updated lumina translations." -git commit */i18n/ -m "merge latest translations from https://github.com/pcbsd/lumina-i18n.git" + +# satisfy dpkg-source when building a GIT snapshot +# first ensure all translations are known to GIT +# then create a commit using only the translation files +# other changes to the source will still be tracked by dpkg-source +[[ -d "${CURDIR}"/.git ]] && ( git add */i18n/*.ts && git commit */i18n/*.ts \ + -m "merge latest translations from https://github.com/pcbsd/lumina-i18n.git" ) rm -rf lumina-i18n |