summaryrefslogtreecommitdiff
path: root/mail/avenger/pkg-install
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-08 12:13:20 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-08 12:13:20 +0000
commit91a78a4d7dbdf65c63eff8e6d3d717286486272d (patch)
tree7f4e204abd7e288866a4d85026a4a71a2bd7dc5a /mail/avenger/pkg-install
parentAdd highlnk , a tool to save disk space on hard disks by using (diff)
- Update to 0.6.5
- Take maintainership PR: ports/83077 Submitted by: David Mazieres <dm+bugs+avenger@mailavenger.org>
Notes
Notes: svn path=/head/; revision=138699
Diffstat (limited to 'mail/avenger/pkg-install')
-rw-r--r--mail/avenger/pkg-install6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/avenger/pkg-install b/mail/avenger/pkg-install
index 03780480e38b..5d77d7ed8312 100644
--- a/mail/avenger/pkg-install
+++ b/mail/avenger/pkg-install
@@ -6,8 +6,6 @@ fi
USER=avenger
GROUP=avenger
-UID=172
-GID=172
AVDIR=/var/spool/avenger
AVETC=${PKG_PREFIX}/etc/avenger
@@ -19,7 +17,7 @@ if [ "$2" = "PRE-INSTALL" ]; then
if ! ${PW} groupshow $GROUP >/dev/null 2>&1; then
echo -n "doesn't exist, adding... "
- if ${PW} groupadd $GROUP -g ${GID}; then
+ if ${PW} groupadd $GROUP; then
echo "success."
else
echo "FAILED!"
@@ -33,7 +31,7 @@ if [ "$2" = "PRE-INSTALL" ]; then
if ! ${PW} usershow $USER >/dev/null 2>&1; then
echo -n "doesn't exist, adding... "
- if ${PW} useradd $USER -u ${UID} -c 'Mail Avenger' -d "$AVDIR" -g $GROUP -s /sbin/nologin -h -; then
+ if ${PW} useradd $USER -c 'Mail Avenger' -d "$AVDIR" -g $GROUP -s /sbin/nologin -h -; then
echo "success."
else
echo "FAILED!"