Author: pierre
Date: Tue Apr  7 10:08:30 2020
New Revision: 4153

Log:
Remove the /usr/share/doc/openssl-<version> dir before renaming
/usr/share/doc/openssl, otherwise it moves it as a subdirectory

Modified:
   jhalfs/trunk/LFS/master.sh

Modified: jhalfs/trunk/LFS/master.sh
==============================================================================
--- jhalfs/trunk/LFS/master.sh  Thu Apr  2 04:54:50 2020        (r4152)
+++ jhalfs/trunk/LFS/master.sh  Tue Apr  7 10:08:30 2020        (r4153)
@@ -215,6 +215,10 @@
     done
     # Remove Bzip2 binaries before make install (LFS-6.2 compatibility)
     sed -e 's@make install@rm -vf /usr/bin/bz*\n&@' -i chapter06$N/*-bzip2$N
+    # Remove openssl-<version> from /usr/share/doc (LFS-9.x), because
+    # otherwise the mv command creates an openssl directory.
+    sed -e 's@mv -v@rm -rfv /usr/share/doc/openssl-*\n&@' \
+        -i chapter06$N/*-openssl$N
   fi
 
   echo "${tab_}${GREEN}Processing... ${L_arrow}Chapter6$N     ( CHROOT ) 
${R_arrow}"
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to