Browse Source

n/msmtp: Added /usr/sbin/sendmail symlink.

slackware-14.2
Damien Goutte-Gattat 12 years ago
parent
commit
83051137d6
  1. 3
      n/msmtp/doinst.sh
  2. 5
      n/msmtp/msmtp.SlackBuild

3
n/msmtp/doinst.sh

@ -0,0 +1,3 @@
#!/bin/sh
[ -f /usr/sbin/sendmail ] || ln -s /usr/bin/msmtp /usr/sbin/sendmail

5
n/msmtp/msmtp.SlackBuild

@ -32,7 +32,7 @@ WGET=${WGET:-http://ovh.dl.sourceforge.net/sourceforge/msmtp/$ARCHIVE}
# Built package infos
NAMETGZ=${NAMETGZ:-msmtp}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-i486}
TARGET=${TARGET:-i486}
@ -102,8 +102,9 @@ install -m 644 \
doc/msmtprc-system.example doc/msmtprc-user.example \
$PKG/usr/doc/$NAME
# Copy slack-desc file
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Package the tree
cd $PKG

Loading…
Cancel
Save