From: Andre Noll Date: Sun, 13 Aug 2006 13:17:33 +0000 (+0200) Subject: don't abort instal for non-root users X-Git-Tag: v0.2.14~52 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=48a0d78dfbc3c1226523aeeb9e8f5a39afa519f2;p=paraslash.git don't abort instal for non-root users It's not fatal if the audiod socket directory /var/paraslash can not be created. Just ignore errors for that directory only. --- diff --git a/Makefile.in b/Makefile.in index 6572235c..b1d56ca4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -229,14 +229,15 @@ maintainer-clean: distclean install: all umask 022 && \ - mkdir -p $(BINDIR) $(VARDIR) && \ + mkdir -p $(BINDIR) && \ $(install_sh) -s -m 755 $(BINARIES) $(BINDIR) && \ mkdir -p $(FONTDIR) && \ $(install_sh) -m 644 $(FONTS) $(FONTDIR) && \ mkdir -p $(PICDIR) && \ $(install_sh) -m 644 $(PICS) $(PICDIR) && \ mkdir -p $(MANDIR) && \ - $(install_sh) -m 644 $(MANS) $(MANDIR) + $(install_sh) -m 644 $(MANS) $(MANDIR) \ + mkdir -p $(VARDIR) > /dev/null 2>&1 || exit 0 @PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.bz2: $(tarball_add) doc rm -f $(tarball_pfx).tar.bz2