mac: don't fail "make install" if SHELLDIR already exists

This commit is contained in:
nhkeni
2023-08-28 19:18:36 -04:00
parent 068a460d05
commit 06a3bd0424

View File

@@ -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; \