tFix (hopefully) for systems that use user:group syntax for chown, and now uses group "wheel" if group "games" doesn't exist - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 84b3f77040b303ad27ecafea95e0fe6a5b48dcb7
(DIR) parent dac4fb5018c57a1bf3cd6bc6d4172489ee3c3a28
(HTM) Author: Ben Webb <ben@salilab.org>
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(-)
---
(DIR) 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
(DIR) 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.
(DIR) diff --git a/src/Makefile.am b/src/Makefile.am
t@@ -14,6 +14,7 @@ DOCS= aiplayer.html configfile.html index.html server.html clientplay.html \
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
(DIR) diff --git a/src/Makefile.in b/src/Makefile.in
t@@ -341,7 +341,8 @@ maintainer-clean-generic clean mostlyclean distclean maintainer-clean
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.