aboutsummaryrefslogtreecommitdiffstats
path: root/mail/avenger/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'mail/avenger/pkg-install')
-rw-r--r--mail/avenger/pkg-install22
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