From 06a3bd042456a5381876e200940626b5f3c6364f Mon Sep 17 00:00:00 2001 From: nhkeni Date: Mon, 28 Aug 2023 19:18:36 -0400 Subject: [PATCH] mac: don't fail "make install" if SHELLDIR already exists --- sys/unix/hints/macOS.370 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/unix/hints/macOS.370 b/sys/unix/hints/macOS.370 index 81d07000b..ef7adc894 100755 --- a/sys/unix/hints/macOS.370 +++ b/sys/unix/hints/macOS.370 @@ -372,7 +372,7 @@ ifdef ($(WANT_DEFAULT),X11) PREINSTALL+= cp -n win/X11/nethack.rc ~/.nethackrc || true; endif # WANT_DEFAULT X11 -PREINSTALL+= mkdir $(SHELLDIR); +PREINSTALL+= (mkdir $(SHELLDIR) || true); POSTINSTALL+= sys/unix/hints/macosx.sh editsysconf sys/unix/sysconf $(HACKDIR)/sysconf; \ $(CHOWN) $(GAMEUID) $(HACKDIR)/sysconf; \ $(CHGRP) $(GAMEGRP) $(HACKDIR)/sysconf; \