Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vscodium/
Date: Thu, 18 Aug 2022 16:33:10
Message-Id: 1660840325.bf2b02c8233dc132071a7fa058e3281d86581e9b.arthurzam@gentoo
1 commit: bf2b02c8233dc132071a7fa058e3281d86581e9b
2 Author: Joe Kappus <joe <AT> wt <DOT> gd>
3 AuthorDate: Wed Aug 17 10:33:11 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 18 16:32:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf2b02c8
7
8 app-editor/vscodium: disable update server on install
9
10 This is also applicable to vscode. As portage manages
11 the updates for these packages it is undesirable to receive
12 notifications about updates that may not apply.
13
14 This removes the reference to the update server.
15
16 Signed-off-by: Joe Kappus <joe <AT> wt.gd>
17 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
18
19 .../vscodium/{vscodium-1.70.0.ebuild => vscodium-1.70.0-r1.ebuild} | 3 +++
20 .../vscodium/{vscodium-1.70.1.ebuild => vscodium-1.70.1-r1.ebuild} | 3 +++
21 2 files changed, 6 insertions(+)
22
23 diff --git a/app-editors/vscodium/vscodium-1.70.0.ebuild b/app-editors/vscodium/vscodium-1.70.0-r1.ebuild
24 similarity index 97%
25 rename from app-editors/vscodium/vscodium-1.70.0.ebuild
26 rename to app-editors/vscodium/vscodium-1.70.0-r1.ebuild
27 index 34c1107537e0..033c0854f7c0 100644
28 --- a/app-editors/vscodium/vscodium-1.70.0.ebuild
29 +++ b/app-editors/vscodium/vscodium-1.70.0-r1.ebuild
30 @@ -88,6 +88,9 @@ src_install() {
31 # Cleanup
32 rm "${S}/resources/app/LICENSE.txt" || die
33
34 + # Disable update server
35 + sed -i "/updateUrl/d" ${S}/resources/app/product.json || die
36 +
37 # Install
38 pax-mark m codium
39 insinto "/opt/${PN}"
40
41 diff --git a/app-editors/vscodium/vscodium-1.70.1.ebuild b/app-editors/vscodium/vscodium-1.70.1-r1.ebuild
42 similarity index 97%
43 rename from app-editors/vscodium/vscodium-1.70.1.ebuild
44 rename to app-editors/vscodium/vscodium-1.70.1-r1.ebuild
45 index 34c1107537e0..033c0854f7c0 100644
46 --- a/app-editors/vscodium/vscodium-1.70.1.ebuild
47 +++ b/app-editors/vscodium/vscodium-1.70.1-r1.ebuild
48 @@ -88,6 +88,9 @@ src_install() {
49 # Cleanup
50 rm "${S}/resources/app/LICENSE.txt" || die
51
52 + # Disable update server
53 + sed -i "/updateUrl/d" ${S}/resources/app/product.json || die
54 +
55 # Install
56 pax-mark m codium
57 insinto "/opt/${PN}"