Skip to content

Commit

Permalink
remove obsolete python ts removal
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 26, 2015
1 parent 63f3b9d commit c1773d8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/update_ts_files.sh
Expand Up @@ -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
Expand All @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c1773d8

Please sign in to comment.