changeset 613:502b46145121 trunk

[svn] Run ldconfig as an install-posthook operation, some systems need it.
author nenolod
date Sat, 04 Feb 2006 11:47:01 -0800
parents 31939ccaff8d
children 2eaaf9c7b6e5
files Makefile.in
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Sat Feb 04 11:44:06 2006 -0800
+++ b/Makefile.in	Sat Feb 04 11:47:01 2006 -0800
@@ -2,3 +2,10 @@
 include mk/objective.mk
 
 SUBDIRS = Plugins libaudacious audacious po icons skin intl
+
+install-posthook:
+	@if test `whoami` = 'root'; then \
+		echo "[running ldconfig to update system library cache]"; \
+		ldconfig; \
+		echo "[system library cache updated]"; \
+	fi