From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 09296138334 for ; Wed, 10 Oct 2018 11:24:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21651E088C; Wed, 10 Oct 2018 11:24:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 001A4E088C for ; Wed, 10 Oct 2018 11:24:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0AB033BF5D for ; Wed, 10 Oct 2018 11:24:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4CA11437 for ; Wed, 10 Oct 2018 11:24:48 +0000 (UTC) From: "Mikhail Pukhlikov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikhail Pukhlikov" Message-ID: <1538997051.cb3fa853bfd2fb7d636cbb5fa68220ae4c1c87ff.cynede@gentoo> Subject: [gentoo-commits] proj/dotnet:master commit in: app-editors/visual-studio-code/ X-VCS-Repository: proj/dotnet X-VCS-Files: app-editors/visual-studio-code/visual-studio-code-1.27.2.ebuild X-VCS-Directories: app-editors/visual-studio-code/ X-VCS-Committer: cynede X-VCS-Committer-Name: Mikhail Pukhlikov X-VCS-Revision: cb3fa853bfd2fb7d636cbb5fa68220ae4c1c87ff X-VCS-Branch: master Date: Wed, 10 Oct 2018 11:24:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 56229756-c07b-48b7-88ce-b36456bd25e7 X-Archives-Hash: c9289de72ca84440a09340a127db1a91 commit: cb3fa853bfd2fb7d636cbb5fa68220ae4c1c87ff Author: Andrew Hlynskyi gmail com> AuthorDate: Mon Oct 8 11:07:12 2018 +0000 Commit: Mikhail Pukhlikov gentoo org> CommitDate: Mon Oct 8 11:10:51 2018 +0000 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=cb3fa853 app-editors/visual-studio-code: Rename executable symlink from 'code' to 'vscode' The "code" name is too broad and may lead to name clashes so it's better to use short but well known "vscode" name. app-editors/visual-studio-code/visual-studio-code-1.27.2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app-editors/visual-studio-code/visual-studio-code-1.27.2.ebuild b/app-editors/visual-studio-code/visual-studio-code-1.27.2.ebuild index c4ac60f..6196f21 100644 --- a/app-editors/visual-studio-code/visual-studio-code-1.27.2.ebuild +++ b/app-editors/visual-studio-code/visual-studio-code-1.27.2.ebuild @@ -5,6 +5,7 @@ EAPI=6 inherit eutils +EXEC_NAME=vscode DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" HOMEPAGE="https://code.visualstudio.com" BASE_URI="https://vscode-update.azurewebsites.net/${PV}" @@ -47,8 +48,8 @@ src_install() { dodir "/opt" # Using doins -r would strip executable bits from all binaries cp -pPR "${S}" "${D}/opt/${PN}" || die "Failed to copy files" - dosym "${EPREFIX}/opt/${PN}/bin/code" "/usr/bin/code" - make_desktop_entry "code" "Visual Studio Code" "${PN}" "Development;IDE" + dosym "${EPREFIX}/opt/${PN}/bin/code" "/usr/bin/${EXEC_NAME}" + make_desktop_entry "${EXEC_NAME}" "Visual Studio Code" "${PN}" "Development;IDE" newicon "${S}/resources/app/resources/linux/code.png" "${PN}.png" insinto "/usr/share/licenses/${PN}" newins "resources/app/LICENSE.txt" "LICENSE"