From 3af7f4d7529cf8628ef9513141a69b80fae183c7 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Sun, 22 Jan 2006 19:48:09 +0000 Subject: - fix installation when the user isn't root CVS patchset: 7839 CVS date: 2006/01/22 19:48:09 --- misc/Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/Makefile.common b/misc/Makefile.common index 0e503b2b4..780eb86aa 100644 --- a/misc/Makefile.common +++ b/misc/Makefile.common @@ -10,7 +10,7 @@ install-data-hook: $(top_srcdir)/post-install.sh ; \ fi; \ fi; \ - if test -x /usr/bin/chcon ; then \ + if test -x /usr/bin/chcon -a `id -u` -eq 0; then \ list='$(lib_LTLIBRARIES)'; \ if test -n "$$list" ; then \ for p in $$list; do \ -- cgit v1.2.3