diff options
author | Bastien Nocera <hadess@users.sourceforge.net> | 2006-01-22 19:48:09 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@users.sourceforge.net> | 2006-01-22 19:48:09 +0000 |
commit | 3af7f4d7529cf8628ef9513141a69b80fae183c7 (patch) | |
tree | 13b27850ba759ed4804a7abbb40cb620027a9dbf | |
parent | 432cf97f42c56a958712686e46bc6d02a8cd4561 (diff) | |
download | xine-lib-3af7f4d7529cf8628ef9513141a69b80fae183c7.tar.gz xine-lib-3af7f4d7529cf8628ef9513141a69b80fae183c7.tar.bz2 |
- fix installation when the user isn't root
CVS patchset: 7839
CVS date: 2006/01/22 19:48:09
-rw-r--r-- | misc/Makefile.common | 2 |
1 files changed, 1 insertions, 1 deletions
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 \ |