From d79b98f7d39ab86af4db0b5499ce12151abe525c Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 17 Nov 2011 11:49:05 +0000 Subject: [PATCH] packages/vnstat: rename uci config file, cleanup git-svn-id: svn://svn.openwrt.org/openwrt/packages@29229 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/vnstat/Makefile | 10 +++++----- net/vnstat/files/{vnstat-uci.conf => vnstat.config} | 0 2 files changed, 5 insertions(+), 5 deletions(-) rename net/vnstat/files/{vnstat-uci.conf => vnstat.config} (100%) diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile index efabd1708..a3c07c779 100644 --- a/net/vnstat/Makefile +++ b/net/vnstat/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=vnstat PKG_VERSION:=1.11 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://humdi.net/vnstat @@ -80,13 +80,13 @@ endef define Package/vnstat/install $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/vnstat $(1)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/vnstat $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/vnstatd $(1)/usr/sbin/ + $(CP) $(PKG_INSTALL_DIR)/usr/sbin/vnstatd $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/etc $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/vnstat.conf $(1)/etc/ $(INSTALL_DIR) $(1)/etc/config - $(INSTALL_CONF) ./files/vnstat-uci.conf $(1)/etc/config/vnstat + $(INSTALL_CONF) ./files/vnstat.config $(1)/etc/config/vnstat $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/vnstat.init $(1)/etc/init.d/vnstat $(INSTALL_DIR) $(1)/etc/uci-defaults @@ -95,7 +95,7 @@ endef define Package/vnstati/install $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/vnstati $(1)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/vnstati $(1)/usr/bin/ endef define Package/vnstat/postinst diff --git a/net/vnstat/files/vnstat-uci.conf b/net/vnstat/files/vnstat.config similarity index 100% rename from net/vnstat/files/vnstat-uci.conf rename to net/vnstat/files/vnstat.config -- 2.11.0