mc: add a missing Syntax file
authorMichal Vasilek <michal.vasilek@nic.cz>
Fri, 20 Aug 2021 08:06:42 +0000 (10:06 +0200)
committerDirk Brenken <dev@brenken.org>
Fri, 20 Aug 2021 09:57:56 +0000 (11:57 +0200)
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit 312caff03b17241d2e383eb254b41d35e9225294)
Signed-off-by: Dirk Brenken <dev@brenken.org>
utils/mc/Makefile

index 79a2cd336e2fb83a26590d8ac1ee66374db6ecac..5df1078600ae62207e74bef83de0bc7ba77706f5 100644 (file)
@@ -7,8 +7,8 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mc
 PKG_VERSION:=4.8.27
-PKG_RELEASE:=1
-PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
+PKG_RELEASE:=2
+PKG_MAINTAINER:=
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_CPE_ID:=cpe:/a:midnight_commander:midnight_commander
 
@@ -107,7 +107,8 @@ 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)/etc/mc/mcedit/Syntax
+       $(INSTALL_DIR) $(1)/usr/share/mc/syntax
+       touch $(1)/usr/share/mc/syntax/Syntax
 ifeq ($(CONFIG_MC_DIFFVIEWER),y)
        ln -sf mc $(1)/usr/bin/mcdiff
 endif