changeset 947:47642e4e456c trunk

[svn] - don't run ldconfig when DESTDIR is not /. Closes bug #464.
author nenolod
date Mon, 17 Apr 2006 06:41:26 -0700
parents 8cfe13fcd0c7
children bd38580ec186
files Makefile.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Sun Apr 16 18:34:59 2006 -0700
+++ b/Makefile.in	Mon Apr 17 06:41:26 2006 -0700
@@ -4,7 +4,7 @@
 SUBDIRS = Plugins libaudacious intl audacious po icons skin
 
 install-posthook:
-	@if test `whoami` = 'root'; then \
+	@if test `whoami` = 'root' && test -z "$(DESTDIR)"; then \
 		echo "[running ldconfig to update system library cache]"; \
 		/sbin/ldconfig; \
 		echo "[system library cache updated]"; \