1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/x11/gdm/pkg-req
Maxim Sobolev fe1bd7a63e Update to 2.2.4.1.
PR:		30955
Submitted by:	Stijn Hoop <stjin@win.tue.nl>
2001-10-02 12:18:33 +00:00

22 lines
601 B
Plaintext

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