Changeset cbca63a
- Timestamp:
- 12/25/2013 11:26:55 AM (11 years ago)
- Branches:
- 2.4, ablfs-more, legacy, new_features, trunk
- Children:
- 94744cd
- Parents:
- c1626d8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_install_blfs
rc1626d8 rcbca63a 148 148 # Suppresses unneeded parts of the scriptlets 149 149 if [ "$DEP_LIBXSLT" = y ]; then 150 # libxslt pulls docbook-xsl in. Sorry for sed synthax. 151 # I do not know how to delete lines between 2 addresses excluding those 152 # two lines. 150 # libxslt pulls docbook-xsl in, which populates the catalog with annoying 151 # **EDITME** references. Fortunately, those lines are regognizable because 152 # they occur between lines containing '/etc/xml/catalog' at the end of the 153 # line (without '&&'). I have not found a simple way to delete lines 154 # between 2 addresses, excluding either the first or the last one. So use 155 # a loop for accumulating lines and deleting at the end. 156 # Sorry for sed synthax. 153 157 sed -i '\@^[[:space:]]*/etc/xml/catalog$@{ 154 158 n … … 162 166 fi 163 167 if [ "$DEP_SUDO" = y ]; then 164 sed -i '/ pam.d/i mkdir -p /etc/pam.d' $BUILDDIR$BLFS_ROOT/scripts/*sudo168 sed -i '/cat.*pam.d/i mkdir -p /etc/pam.d' $BUILDDIR$BLFS_ROOT/scripts/*sudo 165 169 fi 166 170 if [ "$DEP_SVN" = y ]; then … … 178 182 pushd $BUILDDIR$BLFS_ROOT/work 179 183 ../gen-makefile.sh 184 # The generated Makefile updates the tracking file after each package 185 # installation, using libxslt, which is not installed yet. So move 186 # updating to the end of the process, adding an 'update' target 180 187 sed -i -e '/xsltproc/,+6d' \ 181 188 -e '/^all/s@$@ update@' \
Note:
See TracChangeset
for help on using the changeset viewer.