From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.benfm.de ([85.214.204.202] helo=h2734822.stratoserver.net) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3dSa-0004OI-4Y for ptxdist@pengutronix.de; Sun, 24 Jan 2021 12:21:36 +0100 From: Felix Mellmann Date: Sun, 24 Jan 2021 12:18:05 +0100 Message-Id: <20210124111804.510632-1-flix.ptxdist@benfm.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] Added symbolic links to the midnight commander package which allows to call the viewer, the editor and the diff tool from the command line. List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Felix Mellmann The midnight commander allows to call internal tools by using their apropriate name. By adding symbolic links these tool are accessible from the command line. Some users may appreciate using i.e. mcedit directly without the need to start a midnight commander. Signed-off-by: Felix Mellmann --- rules/mc.make | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rules/mc.make b/rules/mc.make index 67fc61690..9335e9d0b 100644 --- a/rules/mc.make +++ b/rules/mc.make @@ -71,6 +71,10 @@ $(STATEDIR)/mc.targetinstall: @$(call install_fixup, mc,DESCRIPTION,missing) @$(call install_copy, mc, 0, 0, 0755, -, /usr/bin/mc) + @$(call install_link, mc, mc, /usr/bin/mcdiff) + @$(call install_link, mc, mc, /usr/bin/mcedit) + @$(call install_link, mc, mc, /usr/bin/mcview) + @$(call install_alternative_tree, mc, 0, 0, /etc/mc) @$(call install_tree, mc, 0, 0, -, /usr/share/mc/skins) -- 2.25.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de