summaryrefslogtreecommitdiff
path: root/pkgs/patches/radicle-remove-curl-script.patch
blob: ea8905db2992c4591bc5fb80f69a4e32b703a55a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 5e1c17c4b14925ec3c0610e8557a19215ac8eb4e Mon Sep 17 00:00:00 2001
From: stuebinm <stuebinm@disroot.org>
Date: Wed, 11 Oct 2023 17:11:30 +0200
Subject: [PATCH] remove curl invocation

---
 scripts/install-twemoji-assets | 4 +---
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/scripts/install-twemoji-assets b/scripts/install-twemoji-assets
index 741a02e..6990ba5 100755
--- a/scripts/install-twemoji-assets
+++ b/scripts/install-twemoji-assets
@@ -1,6 +1,4 @@
 version="$(node -e 'console.log(require("twemoji/package.json").version)')"
 
 echo "Installing Twemoji SVG assets v${version}"
 
-curl -sSL "https://github.com/twitter/twemoji/archive/refs/tags/v${version}.tar.gz" \
-  | tar -x -z -C public/twemoji/ --strip-components=3 "twemoji-${version}/assets/svg"
-- 
2.40.1