Simplified Module-Init-Tools reinstallation.
This commit is contained in:
parent
54b4b3242c
commit
79439ec67d
1 changed files with 2 additions and 5 deletions
|
@ -161,11 +161,8 @@ chapter6_Makefiles() {
|
|||
done
|
||||
# Remove Bzip2 binaries before make install
|
||||
sed -e 's@make install@rm -vf /usr/bin/bz*\n&@' -i chapter06$N/*-bzip2
|
||||
# Tell Module-Init-Tools that we are reinstalling it and clean-up
|
||||
sed -e 's@make install@make moveold\n&@' \
|
||||
-e 's@make install@&\nrm -v /sbin/*.old@' \
|
||||
-e 's@make install@&\nrm -v /bin/lsmod.old@' \
|
||||
-e 's@make install@&\nrm -v /usr/share/man/man8/*.old.8@' -i chapter06$N/*-module-init-tools
|
||||
# Tell Module-Init-Tools that we are reinstalling it
|
||||
sed -e 's@make install@make INSTALL=install install@' -i chapter06$N/*-module-init-tools
|
||||
# Delete *old Readline libraries and regenerate two links after make install
|
||||
sed -e 's@make install@&\nln -sfv libreadline.so.5.1 /lib/libreadline.so.5@' \
|
||||
-e 's@make install@&\nln -sfv libhistory.so.5.1 /lib/libhistory.so.5@' \
|
||||
|
|
Reference in a new issue