aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorTed Hess <thess@kitschensync.net>2016-07-10 17:10:34 -0400
committerGitHub <noreply@github.com>2016-07-10 17:10:34 -0400
commit1b811d9bf55074482234f9b020a309b66e451cff (patch)
treef9d2944fe0fe14c9cecf16bb36e7c8c982109489 /mail
parentd23ea1e2947a8a9d367ffaeed8fa83038d0a3a2d (diff)
parentef59fe79e2207d776286e093496849ac396e5a2d (diff)
Merge pull request #2891 from dibdot/ssmtp
ssmtp: change symlink handling
Diffstat (limited to 'mail')
-rw-r--r--mail/ssmtp/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/mail/ssmtp/Makefile b/mail/ssmtp/Makefile
index 4590c7f1c..81769162f 100644
--- a/mail/ssmtp/Makefile
+++ b/mail/ssmtp/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ssmtp
PKG_VERSION:=2.64
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
PKG_LICENSE:=GPL-2.0+
@@ -53,11 +53,7 @@ define Package/$(PKG_NAME)/install
$(INSTALL_DATA) $(PKG_BUILD_DIR)/revaliases $(1)/etc/ssmtp/
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ssmtp $(1)/usr/sbin/
-endef
-
-define Package/$(PKG_NAME)/postinst
-#!/bin/sh
-ln -sf ssmtp $${IPKG_INSTROOT}/usr/sbin/sendmail
+ ln -s /usr/sbin/ssmtp $(1)/usr/sbin/sendmail
endef
$(eval $(call BuildPackage,$(PKG_NAME)))