From: Jo-Philipp Wich Date: Sun, 8 Jun 2008 22:23:57 +0000 (+0000) Subject: * luci/statistics: add postinstall for package, fix permissions of luci-ff-hannover... X-Git-Tag: 0.8.0~842 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=004213483340028437736f5810bd1c2274b7b72c;p=project%2Fluci.git * luci/statistics: add postinstall for package, fix permissions of luci-ff-hannover.postinst --- diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index f94171523..b438760f5 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -317,6 +317,7 @@ define Package/luci-app-statistics/install $(call Package/luci/install/template,$(1),applications/luci-statistics) $(INSTALL_BIN) $(PKG_BUILD_DIR)/applications/luci-statistics/dist/usr/bin/stat-genconfig $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/applications/luci-statistics/dist/etc/init.d/luci_statistics $(1)/etc/init.d + $(CP) -a ./ipkg/luci-statistics.postinst $(1)/CONTROL/postinst endef diff --git a/contrib/package/luci/ipkg/luci-ff-hannover.postinst b/contrib/package/luci/ipkg/luci-ff-hannover.postinst old mode 100644 new mode 100755 diff --git a/contrib/package/luci/ipkg/luci-statistics.postint b/contrib/package/luci/ipkg/luci-statistics.postint new file mode 100755 index 000000000..69fe0c016 --- /dev/null +++ b/contrib/package/luci/ipkg/luci-statistics.postint @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-statistics ) && rm -f /etc/uci-defaults/luci-statistics +}