Skip to content
Permalink
Browse files

remove obsolete python ts removal

  • Loading branch information
jef-n committed Feb 26, 2015
1 parent 63f3b9d commit c1773d8507495f044d9f3ab6daf18e5cf4638717
Showing with 0 additions and 5 deletions.
  1. +0 −5 scripts/update_ts_files.sh
@@ -26,9 +26,6 @@ echo "deprecated - use push_ts.sh and pull_ts.sh" >&2
set -e

cleanup() {
if [ -f i18n/python_ts.tar ]; then
tar -xf i18n/python_ts.tar
fi
if [ -f i18n/qgis_ts.tar ]; then
echo Restoring excluded translations
tar -xf i18n/qgis_ts.tar
@@ -42,7 +39,6 @@ cleanup() {
i18n/qgis_*.ts.bak \
src/plugins/grass/grasslabels-i18n.cpp \
i18n/qgis_ts.tar \
i18n/python_ts.tar \
qgis_ts.pro
do
[ -f "$i" ] && rm "$i"
@@ -104,7 +100,6 @@ done

trap cleanup EXIT

tar --remove-file -cf i18n/python_ts.tar $(find python -name "*.ts")
if [ "$exclude" != "--exclude i18n/qgis_en.ts" -o -n "$add" ]; then
echo Saving excluded translations
tar $fast -cf i18n/qgis_ts.tar i18n/qgis_*.ts $exclude

0 comments on commit c1773d8

Please sign in to comment.
You can’t perform that action at this time.