Add support for OOXML document format extensions to unzip completion.

This commit is contained in:
Jeroen Hoek 2012-07-07 12:02:05 +02:00 committed by Ville Skyttä
parent 6a71ee504c
commit 7c7b5608c8

View File

@ -1847,7 +1847,8 @@ _install_xspec()
}
# bzcmp, bzdiff, bz*grep, bzless, bzmore intentionally not here, see Debian: #455510
_install_xspec '!*.?(t)bz?(2)' bunzip2 bzcat pbunzip2 pbzcat lbunzip2 lbzcat
_install_xspec '!*.@(zip|[ejsw]ar|exe|pk3|wsz|zargo|xpi|sxw|ot[tspgfc]|od[tspgfcm]|oxt|epub|apk)' unzip zipinfo
# All ODF and OOXML office format files are zip-archives. See Ubuntu: #675987 for the rationale for including them.
_install_xspec '!*.@(zip|[ejsw]ar|exe|pk3|wsz|zargo|xpi|sxw|ot[tspgfc]|od[tspgfcm]|oxt|epub|apk|dot[xm]|doc[xm]|p[op]tx|p[op]tm|xlt[xm]|xls[xm])' unzip zipinfo
_install_xspec '*.Z' compress znew
# zcmp, zdiff, z*grep, zless, zmore intentionally not here, see Debian: #455510
_install_xspec '!*.@(Z|[gGd]z|t[ag]z)' gunzip zcat unpigz