Skip to contentSkip to conversation

dont run ldconfig when installing with DESTDIR

PATCH In review Mike Frysinger 2 participants 2 messages Feb 9, 2009 – Oct 11, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dont run ldconfig when installing with DESTDIR

---
 run-ldconfig |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
run-ldconfig +5 -0
index 227f126..e4b1b93 100755
@@ -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"; 
Signature · 1 line
1.6.1.2

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 17 lines · Edward Shishkin

-------- Original Message -------- Subject: [PATCH] dont run
ldconfig when installing with DESTDIR Date: Mon, 9 Feb 2009
13:20:24 -0500 From: Mike Frysinger <[email protected]> To:
[email protected]

| 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)

run-ldconfig index 227f126..e4b1b93 renamed from run-ldconfig +0 -0

100755 --- a/run-ldconfig +++ b/run-ldconfig @@ -1,5 +1,10 @@ #!/bin/bash

Quoted 3 lines

+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

This one seems to be gentoo-specific, or at least against a file that doesn't exist in the actual reiserfsprogs tarball.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBAgAGBQJQduvfAAoJEB57S2MheeWy0ZgP/2hj0hMROmK4sPMyy6IVhkFm cQFG17qsT+liC+rBAnJ3KgwK1yy59yWv+ldKvDvD5oCcpzTW5yap4U2uIw31XA96 v3mcHPbCVRP3kFAVYN7/IOH+0rOUlm78aI9Nk9GwyblFFBg+8WOLHOwQPRgwNy4+ 1FDKNb/xB4dd/j5OQ5jIlQlMSorau6jftMrYdklInYesLd9CmND1h9BqrzCPDHb3 H1zfQzDT6p4ZQZYMiVmbtkQhsEAMJuyAa3hY6isapIzCjDGNUHdqvXPYLWtNeaH5 NC59Zd2BCQJhfpHCw/DZ+w6nCojeCmFjQ6SHF/bYVtnITleZ/ED48HRwQzu6xHKY vmzoMH6Yl6IRuqkbIAjapXR6D3lAS1a92uPNwBCTGcVElRwkRdYpnbyWN99xAZkF gOenVv1ZbPXbs9vHPiefoA3cvV3Dlo/OwuJTne5eJg9SrVB1amEtPQH0O1UbT8/8 zH4j/V/WtR2x0iCUQthKJrPIyalNCaLbjeDM0TEutmTT3fjW9l+LZnGIKQ980hyM G1zUUmMt5/s+GP5o7t7kb+pZwBd76aut1ur67jEY6X1P/3WrlsmzMQpEbXwGe9k/ 0PHAk7btEsg8TnOE6rSjAL+MEV1RPZkcAvID3gQx0WLd+FQLUkPKASVN1kQ4EN3O cWOIqXEBn1bmBO7zcbmB
=wZO/
-----END PGP SIGNATURE-----