asterisk11-gui: remove postinst

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
This commit is contained in:
Jiri Slachta 2014-05-14 08:34:03 +02:00
parent 72a7d7722f
commit 3eea123d22

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk11-gui PKG_NAME:=asterisk11-gui
PKG_VERSION:=2.1.0-rc1 PKG_VERSION:=2.1.0-rc1
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk-gui/releases/ PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk-gui/releases/
PKG_SOURCE:=asterisk-gui-$(PKG_VERSION).tar.gz PKG_SOURCE:=asterisk-gui-$(PKG_VERSION).tar.gz
@ -72,11 +72,4 @@ define Package/asterisk11-gui/install
$(CP) ./files/agui-postinst $(1)/etc/uci-defaults/ $(CP) ./files/agui-postinst $(1)/etc/uci-defaults/
endef endef
define Package/asterisk11-gui/postinst
#!/bin/sh
[ -n "$${IPKG_INSTROOT}" ] && exit
. /lib/functions.sh
uci_apply_defaults
endef
$(eval $(call BuildPackage,asterisk11-gui)) $(eval $(call BuildPackage,asterisk11-gui))