From: Mike Frysinger Date: Wed, 28 Mar 2007 06:19:12 +0000 (+0000) Subject: send sed errors to /dev/null to account for kde not being installed #172459 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f59a207477fe6e48fd139a33b28110ac43d97005;p=gentoo.git send sed errors to /dev/null to account for kde not being installed #172459 --- 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