diff --git a/PREPARE_PACKAGE b/PREPARE_PACKAGE index 1c3f71d..510e586 100644 --- a/PREPARE_PACKAGE +++ b/PREPARE_PACKAGE @@ -1,21 +1,21 @@ #!/bin/bash test -f package-translations.spec || { "cwd must contain package-translations.spec"; exit 1; } - -if test -d "$MY_LCN_PACK_CHECKOUT"; then - echo "Updating $MY_LCN_PACK_CHECKOUT" - svn up $MY_LCN_PACK_CHECKOUT +PWD=$(pwd) +if test -d "$MY_PKG_I18N_CHECKOUT"; then + echo "Updating $MY_PKG_I18N_CHECKOUT" + cd $MY_PKG_I18N_CHECKOUT && git pull && cd $PWD else - echo "No \$MY_LCN_PACK_CHECKOUT set, will checkout temporarly" - svn export https://svn.opensuse.org/svn/opensuse-i18n/trunk/packages - export MY_LCN_PACK_CHECKOUT=$PWD/packages + echo "No \$MY_PKG_I18N_CHECKOUT set, will checkout temporarly" + git clone https://github.com/opensuse/packages-i18n.git + export MY_PKG_I18N_CHECKOUT=$PWD/packages-i18n fi rm -rf mo tar xf package-translations.tar.bz2 mv mo mo.old mkdir mo -for file in $MY_LCN_PACK_CHECKOUT/*/po; do +for file in $MY_PKG_I18N_CHECKOUT/*/po; do lang=`echo $file | sed -e "s,/po,,; s,.*/,,"` echo $file $lang msgcat --use-first $file/*.po | msgfmt -o mo/package-translations-$lang.mo - @@ -41,11 +41,7 @@ echo "$timestamp - $user" echo echo "- automated update on $timestamp2" echo -if head -n 6 $NAME.changes | grep -q "automated update" ; then - tail -n +6 $NAME.changes -else - cat $NAME.changes -fi +cat $NAME.changes } > $NAME.changes.new mv $NAME.changes.new $NAME.changes diff --git a/package-translations.changes b/package-translations.changes index f57ef63..a1f7cf3 100644 --- a/package-translations.changes +++ b/package-translations.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 2 12:21:02 UTC 2016 - alex239@gmail.com + +- automated update on 2016-10-02 + ------------------------------------------------------------------- Thu Sep 1 16:00:02 MSK 2016 - alex239@gmail.com diff --git a/package-translations.tar.bz2 b/package-translations.tar.bz2 index 56f0791..40d0446 100644 --- a/package-translations.tar.bz2 +++ b/package-translations.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:891c647d36bb67325d69836693586ff4df11d442d38a3f5740c1cb11c398e051 -size 4989010 +oid sha256:69e1c831e54daec5e75b986aaedd866959e757135231d0061116e9c1c8b18d6c +size 4991954