From 566771779705699f067dc2d78a9b652c973326d2 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 4 Jul 2024 01:20:26 -0700 Subject: [PATCH] fix: codium-marketplace (#1422) (#1424) * add: codium-marketplace * arches * fix: codium-marketplace --------- Signed-off-by: madomado (cherry picked from commit 810d59fa9414adf8c3d9f5a0df6c70f2864c3bfa) Co-authored-by: madomado --- anda/devs/codium-marketplace/codium-marketplace.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/anda/devs/codium-marketplace/codium-marketplace.spec b/anda/devs/codium-marketplace/codium-marketplace.spec index bf33068b8e..fba321e07f 100644 --- a/anda/devs/codium-marketplace/codium-marketplace.spec +++ b/anda/devs/codium-marketplace/codium-marketplace.spec @@ -13,6 +13,10 @@ Requires: codium sed This package replaces the default marketplace (https://open-vsx.org/) to the official one used by vscode. +%install +touch dummy +install -Dm644 dummy %buildroot/tmp/terra-codium-marketplace-dummy-file + %posttrans if [ $1 -gt 1 ]; then # update/install sed -i -e 's/^[[:blank:]]*"serviceUrl":.*/ "serviceUrl": "https:\/\/marketplace.visualstudio.com\/_apis\/public\/gallery",/' \ @@ -38,3 +42,6 @@ sed -i -e 's/^[[:blank:]]*"serviceUrl":.*/ "serviceUrl": "https:\/\/marketpla -e 's/^[[:blank:]]*"itemUrl":.*/ "itemUrl": "https:\/\/marketplace.visualstudio.com\/items"/' \ -e '/^[[:blank:]]*"linkProtectionTrustedDomains/d' \ /usr/share/codium/resources/app/product.json || true + +%files +/tmp/terra-codium-marketplace-dummy-file \ No newline at end of file