mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +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)
21 lines
312 B
Bash
21 lines
312 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
#
|
|
|
|
if [ "$2" != "POST-DEINSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
GROUP=rt
|
|
|
|
if ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then
|
|
if pw groupdel ${GROUP}; then
|
|
echo "Removed group \"${GROUP}\"."
|
|
else
|
|
echo "Removing group \"${GROUP}\" failed..."
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
exit 0
|