[packages] ssmtp: add shebang (#10851)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@29898 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2012-01-24 19:08:26 +00:00
parent 46505d368e
commit 3fbce7c15d

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2007-2010 OpenWrt.org # Copyright (C) 2007-2012 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ssmtp PKG_NAME:=ssmtp
PKG_VERSION:=2.64 PKG_VERSION:=2.64
PKG_RELEASE:=3 PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.bz2 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.bz2
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/s/ssmtp PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/s/ssmtp
@ -55,7 +55,8 @@ define Package/ssmtp/install
endef endef
define Package/ssmtp/postinst define Package/ssmtp/postinst
ln -sf ssmtp $${IPKG_INSTROOT}/usr/sbin/sendmail #!/bin/sh
ln -sf ssmtp $${IPKG_INSTROOT}/usr/sbin/sendmail
endef endef
$(eval $(call BuildPackage,ssmtp)) $(eval $(call BuildPackage,ssmtp))