diff options
Diffstat (limited to 'mail/avenger/pkg-install')
-rw-r--r-- | mail/avenger/pkg-install | 6 |
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!" |