changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/install-core-pack.sh

changeset 334: 22a7f2ae775f
parent: e62738da9ac3
author: Richard Westhaver <ellis@rwest.io>
date: Mon, 08 Jul 2024 12:53:45 -0400
permissions: -rwxr-xr-x
description: update core pack install
1 #!/bin/sh
2 set -e
3 TARGET="${1:-x86_64-unknown-linux-gnu}"
4 cd .stash/tmp
5 curl -O "https://packy.compiler.company/dist/${TARGET}/pack/core.tar.zst"
6 unzstd core.tar.zst
7 tar -xvf core.tar
8 cd core
9 mv bin/* /usr/local/bin/
10 mv lib/* /usr/local/lib/
11 mv share/* /usr/local/share/