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

Proposed by Colin Watson on 2016-04-07
Status: Merged
Merged at revision: 94
Proposed branch: lp:~cjwatson/apt-ddtp-tools/xz
Merge into: lp:apt-ddtp-tools
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 2016-04-07 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
1=== modified file 'ubuntu/gen-translations-upload.sh'
2--- ubuntu/gen-translations-upload.sh 2012-06-26 09:02:38 +0000
3+++ ubuntu/gen-translations-upload.sh 2016-04-07 14:08:58 +0000
4@@ -49,7 +49,14 @@
5 isutf8 ${TARGETDIR}/Translation-${LANG%.po}
6 # good, compress
7 gzip -c ${TARGETDIR}/Translation-${LANG%.po} > ${TARGETDIR}/Translation-${LANG%.po}.gz
8- bzip2 -c ${TARGETDIR}/Translation-${LANG%.po} > ${TARGETDIR}/Translation-${LANG%.po}.bz2
9+ case $SERIES in
10+ precise|trusty|wily)
11+ bzip2 -c ${TARGETDIR}/Translation-${LANG%.po} > ${TARGETDIR}/Translation-${LANG%.po}.bz2
12+ ;;
13+ *)
14+ xz -c ${TARGETDIR}/Translation-${LANG%.po} > ${TARGETDIR}/Translation-${LANG%.po}.xz
15+ ;;
16+ esac
17 fi
18 done
19

Subscribers

People subscribed via source and target branches

to all changes: