From 65d17786a1a69694d35c5d7d688704041d0bd823 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Thu, 16 Dec 2021 14:29:38 -0700 Subject: [PATCH] dtmail: #118: don't fail install if mail group does not exist --- cde/programs/dtmail/dtmail/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cde/programs/dtmail/dtmail/Makefile.am b/cde/programs/dtmail/dtmail/Makefile.am index 6faf282cb..6f5173a32 100644 --- a/cde/programs/dtmail/dtmail/Makefile.am +++ b/cde/programs/dtmail/dtmail/Makefile.am @@ -44,7 +44,7 @@ dtmail_SOURCES = AliasListUiItem.C AlternatesListUiItem.C \ dtb_utils.C options_stubs.C \ options_ui.C options_util.C -# can't use INSTALL here as the file is already installed +# Don't fail if we can't set the mail group which might not exist on +# some systems install-exec-hook: - chgrp mail $(DESTDIR)$(bindir)/dtmail - chmod 2755 $(DESTDIR)$(bindir)/dtmail + -(chgrp mail $(DESTDIR)$(bindir)/dtmail && chmod 2755 $(DESTDIR)$(bindir)/dtmail)