Changeset a72f9b7
- Timestamp:
- 10/29/2003 01:36:30 PM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- a3bccff
- Parents:
- ee60dff
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
introduction/welcome/changelog.xml
ree60dff ra72f9b7 11 11 12 12 <itemizedlist> 13 14 <listitem><para>October 29th, 2003 [igor]: Applied the compressdoc 15 patch submitted by Yann E. Morin.</para></listitem> 13 16 14 17 <listitem><para>October 29th, 2003 [tushar]: Added warning that the -
postlfs/config/compressdoc.xml
ree60dff ra72f9b7 13 13 <screen><userinput><command>cat > /usr/bin/compressdoc << "EOF"</command> 14 14 #!/bin/bash 15 # VERSION: 200310 09.192015 # VERSION: 20031029.0025 16 16 # 17 17 # Compress (with bzip2 or gzip) all man pages in a hierarchy and … … 29 29 # - choose a default compress method to be based on the available 30 30 # tool : gzip or bzip2; 31 # - offer an option to automagically choose the best compression method 32 # on a per page basis (eg. check which ofgzip/bzip2/whatever is the 33 # most effective, page per page); 31 34 # - when a MANPATH env var exists, use this instead of /etc/man.conf 32 35 # (useful for users to (de)compress their man pages; … … 133 136 # Look for, and keep, the most recent one 134 137 LATEST=`(cd "$DIR"; ls -1rt "${BASENAME}" "${GZ_FILE}" "${BZ_FILE}" 2>/dev/null | tail -1)` 135 for i in "${BASENAME}" "${GZ_FILE}" .gz "${BZ_FILE}".bz2; do138 for i in "${BASENAME}" "${GZ_FILE}" "${BZ_FILE}"; do 136 139 [ "$LATEST" != "$i" ] && rm -f "$DIR"/"$i" 137 140 done … … 327 330 if [ ! -L "$FILE" -a ! -e "$FILE" ]; then continue; fi 328 331 332 # Do not compress whatis files 333 if [ "$FILE" = "whatis" ]; then continue; fi 334 329 335 if [ -d "$FILE" ]; then 330 336 cd "${MEM_DIR}" # Go back to where we ran "$0", in case "$0"=="./compressdoc" ...
Note:
See TracChangeset
for help on using the changeset viewer.