Changed how the Module-Init-Tools reinstallation is fixed.

This commit is contained in:
Manuel Canales Esparcia 2006-04-16 12:29:11 +00:00
parent ccdacf32aa
commit 31d12a2784

View file

@ -161,8 +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
# Remove Module-Init-Tools binaries before make install
sed -e 's@make install@rm -vf /sbin/{insmod,modprobe,rmmod,depmod}\n&@' -i chapter06$N/*-module-init-tools
# Tell Module-Init-Tools that we are reinstalling it
sed -e 's@make install@make moveold\n&@' -i chapter06$N/*-module-init-tools
# Remove some Readline libraries and symlinks before make install
sed -e 's@make install@rm -vf /lib/lib{history,readline}.so.5*\n&@' -i chapter06$N/*-readline
# Let some Udev pre-installation commands to fail