* luci/statistics: add postinstall for package, fix permissions of luci-ff-hannover.postinst
This commit is contained in:
parent
5f6561bc34
commit
0042134833
3 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
0
contrib/package/luci/ipkg/luci-ff-hannover.postinst
Normal file → Executable file
0
contrib/package/luci/ipkg/luci-ff-hannover.postinst
Normal file → Executable file
4
contrib/package/luci/ipkg/luci-statistics.postint
Executable file
4
contrib/package/luci/ipkg/luci-statistics.postint
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
[ -n "${IPKG_INSTROOT}" ] || {
|
||||
( . /etc/uci-defaults/luci-statistics ) && rm -f /etc/uci-defaults/luci-statistics
|
||||
}
|
Loading…
Reference in a new issue