diff options
author | mnag <mnag@FreeBSD.org> | 2005-09-17 06:58:51 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2005-09-17 06:58:51 +0800 |
commit | 2008c4cb5f291721252d773bc83d848d16a5f96f (patch) | |
tree | 4032d69888ae4a3a86ae76edb3b61b302c2f51f4 /mail/avenger/pkg-install | |
parent | f129bc76775fc53519ee281450d44424d41c2463 (diff) | |
download | freebsd-ports-gnome-2008c4cb5f291721252d773bc83d848d16a5f96f.tar.gz freebsd-ports-gnome-2008c4cb5f291721252d773bc83d848d16a5f96f.tar.zst freebsd-ports-gnome-2008c4cb5f291721252d773bc83d848d16a5f96f.zip |
Update to 0.7
PR: ports/85064
Submitted by: David Mazieres <dm+bugs+avenger@mailavenger.org> (maintainer)
Approved by: pav (mentor)
Diffstat (limited to 'mail/avenger/pkg-install')
-rw-r--r-- | mail/avenger/pkg-install | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/mail/avenger/pkg-install b/mail/avenger/pkg-install index 5d77d7ed8312..7969f695eab8 100644 --- a/mail/avenger/pkg-install +++ b/mail/avenger/pkg-install @@ -7,7 +7,6 @@ fi USER=avenger GROUP=avenger AVDIR=/var/spool/avenger -AVETC=${PKG_PREFIX}/etc/avenger PW=/usr/sbin/pw @@ -31,7 +30,8 @@ if [ "$2" = "PRE-INSTALL" ]; then if ! ${PW} usershow $USER >/dev/null 2>&1; then echo -n "doesn't exist, adding... " - if ${PW} useradd $USER -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!" @@ -41,19 +41,11 @@ if [ "$2" = "PRE-INSTALL" ]; then echo "exists." fi elif [ "$2" = "POST-INSTALL" ]; then - echo -n "Checking for config directory ($AVETC)... " - - if [ -d "$AVETC" ]; then - echo "already exists." - else - echo -n "creating... " - if mkdir $AVETC; then - echo "success." - else - echo "FAILED!" - exit 1 - fi - fi + echo "Before using Mail Avenger, you will need to configure it." + echo "Instructions are available in:" + echo "" + echo " ${PKG_PREFIX}/share/avenger/INSTALL" + echo "" fi exit 0 |