Match updated prelink requirements.

The m option is used so that this will work in some i686 cases where it
wouldn't before.

prelink is optional, so handle it not being available.
This commit is contained in:
Bruno Wolff III 2011-04-03 08:28:34 -05:00
parent 45ad6629a1
commit e095d42c59
2 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ rm -f /var/lib/rpm/__db*
# run prelink to prelink everything installed. This should prevent prelink
# from causing massive changes on systems booted longer than a day.
/usr/sbin/prelink -a
/usr/sbin/prelink -am &>/dev/null || :
# save a little bit of space at least...
rm -f /boot/initramfs*

View File

@ -380,7 +380,7 @@ rm -f /var/lib/rpm/__db*
# run prelink to prelink everything installed. This should prevent prelink
# from causing massive changes on systems booted longer than a day.
/usr/sbin/prelink -a
/usr/sbin/prelink -am &>/dev/null || :
# save a little bit of space at least...
rm -f /boot/initrd*