summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-28 06:19:12 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-28 06:19:12 +0000
commitafbb396d166b4318eef49215f7497d636e772b22 (patch)
tree4c3d79fdb0a1e1ffba0d4edbb3d4155a437dc777 /sys-devel/prelink/files
parentFix install path for rcscript addon #172391 by Georgi Georgiev. (diff)
downloadgentoo-2-afbb396d166b4318eef49215f7497d636e772b22.tar.gz
gentoo-2-afbb396d166b4318eef49215f7497d636e772b22.tar.bz2
gentoo-2-afbb396d166b4318eef49215f7497d636e772b22.zip
send sed errors to /dev/null to account for kde not being installed #172459
Diffstat (limited to 'sys-devel/prelink/files')
-rw-r--r--sys-devel/prelink/files/prelink.cron4
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