diff Makefile.in @ 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 ec9ba0ad38a8
children 4be4d74db123
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]"; \