kwo pushed a commit to branch master.
commit 9d39a88793eca6a343b681d90448c8682be1acc9
Author: Kim Woelders <[email protected]>
Date: Sat May 18 09:46:52 2013 +0200
Fix installation group ownership of theme files (ticket 2345).
---
themes/Makefile.am | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/themes/Makefile.am b/themes/Makefile.am
index 4b568dd..a49b1d4 100644
--- a/themes/Makefile.am
+++ b/themes/Makefile.am
@@ -11,8 +11,7 @@ install-data-local:
for tf in $(THEME_FILES); do \
gzip -d -c < $(srcdir)/$$tf | (cd $(THEME_DIR); tar -xmf -); \
done
- -if [ -n "$(USER)" ]; then chown -R $(USER) $(THEME_DIR); else chown -R
root $(THEME_DIR); fi
-
+ -if [ "$$EUID" = "0" ]; then chown -R 0:0 $(THEME_DIR); fi
uninstall-local:
-for tf in $(THEME_FILES); do \
--
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d