All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix install-exec-hook to check whether wall and write were built
@ 2011-07-05 17:13 Kirill Elagin
  2011-07-05 21:07 ` Kirill Elagin
  2011-07-11 10:04 ` Karel Zak
  0 siblings, 2 replies; 3+ messages in thread
From: Kirill Elagin @ 2011-07-05 17:13 UTC (permalink / raw)
  To: util-linux

Signed-off-by: Kirill Elagin <kirelagin@gmail.com>
---
 term-utils/Makefile.am |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/term-utils/Makefile.am b/term-utils/Makefile.am
index 5e03560..8ab9d0b 100644
--- a/term-utils/Makefile.am
+++ b/term-utils/Makefile.am
@@ -66,9 +66,15 @@ endif

 if USE_TTY_GROUP
 if MAKEINSTALL_DO_CHOWN
+if BUILD_WALL
 install-exec-hook::
-   chgrp tty $(DESTDIR)$(usrbin_execdir)/wall $(DESTDIR)$(usrbin_execdir)/write
-   chmod g+s $(DESTDIR)$(usrbin_execdir)/wall $(DESTDIR)$(usrbin_execdir)/write
-
+   chgrp tty $(DESTDIR)$(usrbin_execdir)/wall
+   chmod g+s $(DESTDIR)$(usrbin_execdir)/wall
+endif
+if BUILD_WRITE
+install-exec-hook::
+   chgrp tty $(DESTDIR)$(usrbin_execdir)/write
+   chmod g+s $(DESTDIR)$(usrbin_execdir)/write
+endif
 endif
 endif
--
1.7.3.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-11 10:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-05 17:13 [PATCH] Fix install-exec-hook to check whether wall and write were built Kirill Elagin
2011-07-05 21:07 ` Kirill Elagin
2011-07-11 10:04 ` Karel Zak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.