restund: remove postinst script
There are no secrets in /etc/restund.conf. Remove the postinstall script and install the file with regular permissions. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
4da7d848df
commit
734b0d76e5
1 changed files with 2 additions and 10 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=restund
|
PKG_NAME:=restund
|
||||||
PKG_VERSION:=0.4.12
|
PKG_VERSION:=0.4.12
|
||||||
PKG_RELEASE:=7
|
PKG_RELEASE:=8
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://www.creytiv.com/pub
|
PKG_SOURCE_URL:=http://www.creytiv.com/pub
|
||||||
|
@ -76,7 +76,7 @@ define Package/restund/install
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/restund/modules/turn.so \
|
$(PKG_INSTALL_DIR)/usr/lib/restund/modules/turn.so \
|
||||||
$(1)/usr/lib/restund/modules
|
$(1)/usr/lib/restund/modules
|
||||||
$(INSTALL_DIR) $(1)/etc
|
$(INSTALL_DIR) $(1)/etc
|
||||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/etc/restund.conf $(1)/etc
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/restund.conf $(1)/etc
|
||||||
$(SED) \
|
$(SED) \
|
||||||
's|^\(module_path\)\([ \t]\+\).*$$$$|\1\2/usr/lib/restund/modules|g' \
|
's|^\(module_path\)\([ \t]\+\).*$$$$|\1\2/usr/lib/restund/modules|g' \
|
||||||
$(1)/etc/restund.conf
|
$(1)/etc/restund.conf
|
||||||
|
@ -92,14 +92,6 @@ define Package/restund/conffiles
|
||||||
/etc/restund.conf
|
/etc/restund.conf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/restund/postinst
|
|
||||||
#!/bin/sh
|
|
||||||
if [ -z "$${IPKG_INSTROOT}" ]; then
|
|
||||||
chown $(PKG_NAME):$(PKG_NAME) /etc/restund.conf
|
|
||||||
fi
|
|
||||||
exit 0
|
|
||||||
endef
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# 1. Name
|
# 1. Name
|
||||||
# 2. Title
|
# 2. Title
|
||||||
|
|
Loading…
Reference in a new issue