17 lines
378 B
Bash
Executable File
17 lines
378 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# SPDX-FileCopyrightText: Copyright 2025 crueter
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
# updates CPMUtil, its docs, and related tools from the latest release
|
|
|
|
if command -v zstd >/dev/null; then
|
|
EXT=tar.zst
|
|
else
|
|
EXT=tar.gz
|
|
fi
|
|
|
|
wget "https://git.crueter.xyz/CMake/CPMUtil/releases/download/continuous/CPMUtil.$EXT"
|
|
tar xf "CPMUtil.$EXT"
|
|
rm "CPMUtil.$EXT"
|