aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-01-24 00:24:11 +0800
committersobomax <sobomax@FreeBSD.org>2002-01-24 00:24:11 +0800
commit6075f6b50c6c419cdca88e34c1480c856cc25fc8 (patch)
tree7762d4e7df14da10a454c7a14541742af6a45308
parent489f4f49e2ca64a9a5b5dccd8abdd52fe551250f (diff)
downloadfreebsd-ports-gnome-6075f6b50c6c419cdca88e34c1480c856cc25fc8.tar.gz
freebsd-ports-gnome-6075f6b50c6c419cdca88e34c1480c856cc25fc8.tar.zst
freebsd-ports-gnome-6075f6b50c6c419cdca88e34c1480c856cc25fc8.zip
Use user name instead of UID when setting owner for the directory with
config files. This is necessary in the case when user already have gdm user registered in his /etc/passwd, but with different UID. No PORTREVISION bump because package remains the same. Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
-rw-r--r--x11/gdm/Makefile2
-rw-r--r--x11/gdm2/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 789ad679c06c..40075f1fe05f 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -41,7 +41,7 @@ post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
@${INSTALL_SCRIPT} ${WRKSRC}/config/gnomerc ${PREFIX}/etc/gdm
- @${CHOWN} -R 91:91 ${PREFIX}/share/gnome/gdm ${PREFIX}/etc/gdm
+ @${CHOWN} -R gdm:gdm ${PREFIX}/share/gnome/gdm ${PREFIX}/etc/gdm
@${CHMOD} 0750 ${PREFIX}/share/gnome/gdm
@${CAT} ${PKGMESSAGE}
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile
index 789ad679c06c..40075f1fe05f 100644
--- a/x11/gdm2/Makefile
+++ b/x11/gdm2/Makefile
@@ -41,7 +41,7 @@ post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
@${INSTALL_SCRIPT} ${WRKSRC}/config/gnomerc ${PREFIX}/etc/gdm
- @${CHOWN} -R 91:91 ${PREFIX}/share/gnome/gdm ${PREFIX}/etc/gdm
+ @${CHOWN} -R gdm:gdm ${PREFIX}/share/gnome/gdm ${PREFIX}/etc/gdm
@${CHMOD} 0750 ${PREFIX}/share/gnome/gdm
@${CAT} ${PKGMESSAGE}