From f59a207477fe6e48fd139a33b28110ac43d97005 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 28 Mar 2007 06:19:12 +0000 Subject: [PATCH] send sed errors to /dev/null to account for kde not being installed #172459 --- sys-devel/prelink/files/prelink.cron | 4 ++-- 1 file 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 -- 2.26.2