mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-18 19:30:27 +08:00
On the BSDs, bash is typically installed in /usr/local/bin. Signed-off-by: Shawn Webb <shawn.webb@hardenedbsd.org>
10 lines
339 B
Bash
Executable File
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"
|