Changeset d7c254a for postlfs


Ignore:
Timestamp:
09/23/2003 01:35:57 PM (21 years ago)
Author:
Larry Lawrence <larry@…>
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_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c442d19
Parents:
dbed00df
Message:

compressdoc patch

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1173 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/config/compressdoc.xml

    rdbed00df rd7c254a  
    3939# set up a few variables.
    4040
    41 NEWEXT=.$2            # NEWEXT = extension of newly compressed files
     41NEWEXT=.$2                        # NEWEXT = extension of newly compressed files
    4242
    4343if [ "$NEWEXT" == ".bz2" ]
    4444then
    4545   OLDEXT=".gz" # OLDEXT = extensions of files to recompress
    46    DECOMPRESS="gunzip -f" # DECOMPRESS = command to decompress a file
    47    COMPRESS="bzip2 -f9" # COMPRESS = command to compress a file
     46   DECOMPRESS="gunzip -f"         # DECOMPRESS = command to decompress a file
     47   COMPRESS="bzip2 -f9"           # COMPRESS = command to compress a file
    4848else
    4949   OLDEXT=".bz2"
     
    6565   if [ -f $f -o -L $f ]
    6666   then
    67        FILE=$f # the file being processed
    68        BASEFILE=`basename $FILE` # its basename (see HLINKS)
    69        INODE=`find $FILE -printf %i` # its inode number (see HLINKS)
    70        NEWFILE=`changefileext $FILE $OLDEXT $NEWEXT` # new file name
     67       FILE=$f                                   # the file being processed
     68       BASEFILE=`basename $FILE`                 # its basename (see HLINKS)
     69       INODE=`find $FILE -printf %i`             # its inode number (see HLINKS)
     70       NEWFILE=`changefileext $FILE $OLDEXT $NEWEXT`             # new file name
    7171
    7272       # HLINKS is the list of all hard links to the current file.
     
    137137
    138138<command>EOF
    139 chmod 755 /usr/bin/comprdoc</command></userinput></screen>
     139chmod 755 /usr/bin/compressdoc</command></userinput></screen>
    140140
    141141<para>Now, as root, you can issue a
Note: See TracChangeset for help on using the changeset viewer.