reiserfs-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dont run ldconfig when installing with DESTDIR
@ 2009-02-09 18:20 Mike Frysinger
       [not found] ` <507595FA.10406@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2009-02-09 18:20 UTC (permalink / raw)
  To: reiserfs-devel

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 run-ldconfig |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/run-ldconfig b/run-ldconfig
index 227f126..e4b1b93 100755
--- a/run-ldconfig
+++ b/run-ldconfig
@@ -1,5 +1,10 @@
 #!/bin/bash
 
+if [ -n "$DESTDIR" ] ; then
+	echo "Skipping ldconfig due to installing into temp root (DESTDIR)"
+	exit 0
+fi
+
 ldc="";
 if [ -x /sbin/ldconfig ]; then 
 	ldc="/sbin/ldconfig"; 
-- 
1.6.1.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-11 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-09 18:20 [PATCH] dont run ldconfig when installing with DESTDIR Mike Frysinger
     [not found] ` <507595FA.10406@gmail.com>
2012-10-11 15:55   ` Fwd: " Jeff Mahoney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).