Files
radicle-explorer/scripts/install-twemoji-assets
T
Shawn Webb e0c75d4204 Fix shebang lines for a few scripts
On the BSDs, bash is typically installed in /usr/local/bin.

Signed-off-by:	Shawn Webb <shawn.webb@hardenedbsd.org>
2024-05-08 20:34:47 +00:00

10 lines
339 B
Bash
Executable File

#!/usr/bin/env bash
set -Eeou pipefail
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"