Codebase list debian-goodies / 412bdc6
debmany: Support gzip compressed text files Before, the availability of compressed file support was pager-dependent. Marcel Partap authored 6 years ago Axel Beckert committed 5 years ago
2 changed file(s) with 10 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2222 [ Jakub Wilk ]
2323 * which-pkg-broke: Massive speedup due to calling apt-cache less often.
2424 (Closes: #883896)
25
26 [ Marcel Partap ]
27 * debmany: Support gzip compressed text files even if the pager does not
28 support them. (Closes: #892211)
2529
2630 -- Axel Beckert <abe@debian.org> Sun, 03 Dec 2017 03:28:50 +0100
2731
412412 else
413413 # other file (usr/share/doc)
414414 debug "Opening other file: "`printf "$othercmdline" "$PWD/$return"` # comment
415 eval $(printf "$othercmdline" "$PWD/$return")
415 if [[ "$return" =~ \.gz$ ]]
416 then
417 eval $(printf "gzip -dc $PWD/$return | $othercmdline")
418 else
419 eval $(printf "$othercmdline" "$PWD/$return")
420 fi
416421 fi
417422 else
418423 cd "$curdir"