From: "Mikhail Pukhlikov" <cynede@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/dotnet:master commit in: app-editors/visual-studio-code/
Date: Wed, 10 Oct 2018 11:24:48 +0000 (UTC) [thread overview]
Message-ID: <1538997051.cb3fa853bfd2fb7d636cbb5fa68220ae4c1c87ff.cynede@gentoo> (raw)
commit: cb3fa853bfd2fb7d636cbb5fa68220ae4c1c87ff
Author: Andrew Hlynskyi <ahlincq <AT> gmail <DOT> com>
AuthorDate: Mon Oct 8 11:07:12 2018 +0000
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> 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"
next reply other threads:[~2018-10-10 11:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-10 11:24 Mikhail Pukhlikov [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-10-10 11:24 [gentoo-commits] proj/dotnet:master commit in: app-editors/visual-studio-code/ Mikhail Pukhlikov
2018-10-10 11:24 Mikhail Pukhlikov
2018-08-29 8:03 Mikhail Pukhlikov
2018-08-06 12:58 Mikhail Pukhlikov
2018-07-06 8:43 Mikhail Pukhlikov
2018-07-06 6:24 Mikhail Pukhlikov
2018-04-19 15:41 Mikhail Pukhlikov
2018-03-07 6:22 Mikhail Pukhlikov
2018-03-07 6:22 Mikhail Pukhlikov
2018-03-07 6:22 Mikhail Pukhlikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1538997051.cb3fa853bfd2fb7d636cbb5fa68220ae4c1c87ff.cynede@gentoo \
--to=cynede@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox