diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-03-28 06:19:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-03-28 06:19:12 +0000 |
commit | f59a207477fe6e48fd139a33b28110ac43d97005 (patch) | |
tree | 624bc6eee8445c30828cbe9381a60b263ab9ba8b /sys-devel/prelink | |
parent | Fix install path for rcscript addon #172391 by Georgi Georgiev. (diff) | |
download | historical-f59a207477fe6e48fd139a33b28110ac43d97005.tar.gz historical-f59a207477fe6e48fd139a33b28110ac43d97005.tar.bz2 historical-f59a207477fe6e48fd139a33b28110ac43d97005.zip |
send sed errors to /dev/null to account for kde not being installed #172459
Diffstat (limited to 'sys-devel/prelink')
-rw-r--r-- | sys-devel/prelink/files/prelink.cron | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-devel/prelink/files/prelink.cron b/sys-devel/prelink/files/prelink.cron index 37b119d6b8e2..2561e9d3727a 100644 --- a/sys-devel/prelink/files/prelink.cron +++ b/sys-devel/prelink/files/prelink.cron @@ -5,7 +5,7 @@ renice +19 -p $$ >/dev/null 2>&1 if [ "$PRELINKING" != yes ]; then - sed -ri '/^[[:space:]]*#?[[:space:]]*KDE_IS_PRELINKED=/s:.*:#KDE_IS_PRELINKED=1:' /etc/env.d/*kde* + sed -ri '/^[[:space:]]*#?[[:space:]]*KDE_IS_PRELINKED=/s:.*:#KDE_IS_PRELINKED=1:' /etc/env.d/*kde* 2>/dev/null if [ -f /etc/prelink.cache ]; then echo /usr/sbin/prelink -uav > /var/log/prelink.log /usr/sbin/prelink -uav >> /var/log/prelink.log 2>&1 \ @@ -17,7 +17,7 @@ if [ "$PRELINKING" != yes ]; then exit 0 fi -sed -ri '/^[[:space:]]*#?[[:space:]]*KDE_IS_PRELINKED=/s:.*:KDE_IS_PRELINKED=1:' /etc/env.d/*kde* +sed -ri '/^[[:space:]]*#?[[:space:]]*KDE_IS_PRELINKED=/s:.*:KDE_IS_PRELINKED=1:' /etc/env.d/*kde* 2>/dev/null if [ ! -f /etc/prelink.cache -o -f /var/lib/misc/prelink.force ] \ || grep -q '^prelink-ELF0.[0-2]' /etc/prelink.cache; then |