[packages] mc: ship with a /root/.mc/ folder (#8770)
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 16 Jul 2011 00:56:51 +0000 (00:56 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 16 Jul 2011 00:56:51 +0000 (00:56 +0000)
SVN-Revision: 27620

utils/mc/Makefile

index 81cf9fe..42b2e17 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mc
 PKG_VERSION:=4.7.5.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.midnight-commander.org/downloads/
@@ -64,6 +64,7 @@ define Package/mc/install
        $(INSTALL_DATA) $(PKG_BUILD_DIR)/misc/mc.menu $(1)/etc/mc
        $(INSTALL_DIR) $(1)/etc/mc/skins
        $(INSTALL_DATA) $(PKG_BUILD_DIR)/misc/skins/default.ini $(1)/etc/mc/skins
+       $(INSTALL_DIR) $(1)/root/.mc
 endef
 
 define Package/mc/conffiles