Merge lp:~cjwatson/apt-ddtp-tools/xz into lp:~mvo/apt-ddtp-tools/trunk

Proposed by Colin Watson
Status: Merged
Merged at revision: 94
Proposed branch: lp:~cjwatson/apt-ddtp-tools/xz
Merge into: lp:~mvo/apt-ddtp-tools/trunk
Diff against target: 18 lines (+8/-1)
1 file modified
ubuntu/gen-translations-upload.sh (+8/-1)
To merge this branch: bzr merge lp:~cjwatson/apt-ddtp-tools/xz
Reviewer Review Type Date Requested Status
Michael Vogt Pending
Review via email: mp+291260@code.launchpad.net

Commit message

Use xz rather than bzip2 for >= xenial.

Description of the change

Use xz rather than bzip2 for >= xenial. This matches other index files in the current archive.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ubuntu/gen-translations-upload.sh'
--- ubuntu/gen-translations-upload.sh 2012-06-26 09:02:38 +0000
+++ ubuntu/gen-translations-upload.sh 2016-04-07 14:08:58 +0000
@@ -49,7 +49,14 @@
49 isutf8 ${TARGETDIR}/Translation-${LANG%.po}49 isutf8 ${TARGETDIR}/Translation-${LANG%.po}
50 # good, compress50 # good, compress
51 gzip -c ${TARGETDIR}/Translation-${LANG%.po} > ${TARGETDIR}/Translation-${LANG%.po}.gz51 gzip -c ${TARGETDIR}/Translation-${LANG%.po} > ${TARGETDIR}/Translation-${LANG%.po}.gz
52 bzip2 -c ${TARGETDIR}/Translation-${LANG%.po} > ${TARGETDIR}/Translation-${LANG%.po}.bz252 case $SERIES in
53 precise|trusty|wily)
54 bzip2 -c ${TARGETDIR}/Translation-${LANG%.po} > ${TARGETDIR}/Translation-${LANG%.po}.bz2
55 ;;
56 *)
57 xz -c ${TARGETDIR}/Translation-${LANG%.po} > ${TARGETDIR}/Translation-${LANG%.po}.xz
58 ;;
59 esac
53 fi60 fi
54 done61 done
5562

Subscribers

People subscribed via source and target branches

to all changes: