[PATCH] dont run ldconfig when installing with DESTDIR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux