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/