tFix (hopefully) for systems that use user:group syntax for chown, and now uses… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 84b3f77040b303ad27ecafea95e0fe6a5b48dcb7 | |
parent dac4fb5018c57a1bf3cd6bc6d4172489ee3c3a28 | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 9 Apr 2001 23:10:31 +0000 | |
Fix (hopefully) for systems that use user:group syntax for chown, and now | |
uses group "wheel" if group "games" doesn't exist | |
Diffstat: | |
M Makefile.am | 3 ++- | |
M Makefile.in | 3 ++- | |
M src/Makefile.am | 3 ++- | |
M src/Makefile.in | 3 ++- | |
4 files changed, 8 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/Makefile.am b/Makefile.am | |
t@@ -5,6 +5,7 @@ DISTFILES = ABOUT-NLS | |
install-data-local: | |
${mkinstalldirs} ${DESTDIR}${datadir} | |
touch ${DESTDIR}${datadir}/dopewars.sco | |
- chown root.games ${DESTDIR}${datadir}/dopewars.sco | |
+ chown root:games ${DESTDIR}${datadir}/dopewars.sco || \ | |
+ chown root:wheel ${DESTDIR}${datadir}/dopewars.sco | |
chmod 0660 ${DESTDIR}${datadir}/dopewars.sco | |
diff --git a/Makefile.in b/Makefile.in | |
t@@ -376,7 +376,8 @@ mostlyclean distclean maintainer-clean | |
install-data-local: | |
${mkinstalldirs} ${DESTDIR}${datadir} | |
touch ${DESTDIR}${datadir}/dopewars.sco | |
- chown root.games ${DESTDIR}${datadir}/dopewars.sco | |
+ chown root:games ${DESTDIR}${datadir}/dopewars.sco || \ | |
+ chown root:wheel ${DESTDIR}${datadir}/dopewars.sco | |
chmod 0660 ${DESTDIR}${datadir}/dopewars.sco | |
# Tell versions [3.59,3.63) of GNU make to not export all variables. | |
diff --git a/src/Makefile.am b/src/Makefile.am | |
t@@ -14,6 +14,7 @@ DOCS= aiplayer.html configfile.html index.html server.html c… | |
developer.html metaserver.html windows.html README | |
install-exec-hook: | |
- chown root.games ${DESTDIR}${bindir}/dopewars | |
+ chown root:games ${DESTDIR}${bindir}/dopewars || \ | |
+ chown root:wheel ${DESTDIR}${bindir}/dopewars | |
chmod 2755 ${DESTDIR}${bindir}/dopewars | |
diff --git a/src/Makefile.in b/src/Makefile.in | |
t@@ -341,7 +341,8 @@ maintainer-clean-generic clean mostlyclean distclean maint… | |
install-exec-hook: | |
- chown root.games ${DESTDIR}${bindir}/dopewars | |
+ chown root:games ${DESTDIR}${bindir}/dopewars || \ | |
+ chown root:wheel ${DESTDIR}${bindir}/dopewars | |
chmod 2755 ${DESTDIR}${bindir}/dopewars | |
# Tell versions [3.59,3.63) of GNU make to not export all variables. |