mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
1b83e06996
o www/rt3 has marked been IGNORE for at least one year, so has been removed. o All www/rt* ports are now deprecated and will be removed 2008-02-01 except www/rt36. o GID 180 has been registered officially for rt's use. o exactly one of www/rt36 or www/rt38 may be installed at any one time www/p5-RT* and www/p5-RTx* will be updated shortly to depend on www/rt38. www/rt38 is now packageable. This means that you have to run some scripts BY HAND after the port installation is done. PR: ports/125745, ports/125785 Requested by: several on ports@ Approved by: vivek@khera.org (previous rt maintainer)
22 lines
331 B
Bash
22 lines
331 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
#
|
|
|
|
if [ "$2" != "PRE-INSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
GROUP=rt
|
|
GROUPID=180
|
|
|
|
if ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then
|
|
if pw groupadd ${GROUP} -g ${GROUPID}; then
|
|
echo "Added group \"${GROUP}\"."
|
|
else
|
|
echo "Adding group \"${GROUP}\" failed..."
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
exit 0
|