diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-10-02 12:18:33 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-10-02 12:18:33 +0000 |
commit | fe1bd7a63ea88ff97b2d9c08f196c7fd75f3d784 (patch) | |
tree | f2c7eadc5b128a5c41015e98903e9d563750afc1 /x11/gdm2/pkg-req | |
parent | Updated to 0.7b. (diff) |
Update to 2.2.4.1.
PR: 30955
Submitted by: Stijn Hoop <stjin@win.tue.nl>
Notes
Notes:
svn path=/head/; revision=48344
Diffstat (limited to '')
-rw-r--r-- | x11/gdm2/pkg-req | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11/gdm2/pkg-req b/x11/gdm2/pkg-req new file mode 100644 index 000000000000..22dd46c6f7ad --- /dev/null +++ b/x11/gdm2/pkg-req @@ -0,0 +1,21 @@ +if [ "$2" != "INSTALL" ]; then + exit 0 +fi +if ! id -u gdm > /dev/null 2>&1; then + echo "You need an account \"gdm\" to install this package." + echo "Please add it by hand (try \"man vipw\") and try again." + echo "" + echo "An example passwd entry is:" + echo "gdm:*:91:91::0:0:GNOME Display Manager:/nonexistent:/nonexistent" + echo "" + exit 1 +fi +if ! grep -s ^gdm: /etc/group > /dev/null 2>&1; then + echo "You need a group \"gdm\" to install this package." + echo "Please add it by hand and try again." + echo "An example /etc/group entry is:" + echo "gdm:*:91:gdm" + echo "" + exit 1 +fi +exit 0 |