aboutsummaryrefslogtreecommitdiff
path: root/tools/cpm/package/fetch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cpm/package/fetch.sh')
-rwxr-xr-xtools/cpm/package/fetch.sh44
1 files changed, 0 insertions, 44 deletions
diff --git a/tools/cpm/package/fetch.sh b/tools/cpm/package/fetch.sh
deleted file mode 100755
index 774ecc7a29..0000000000
--- a/tools/cpm/package/fetch.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh -e
-
-# SPDX-FileCopyrightText: Copyright 2026 crueter
-# SPDX-License-Identifier: LGPL-3.0-or-later
-
-# shellcheck disable=SC1091
-. "$SCRIPTS/util/fetch.sh"
-
-usage() {
- cat <<EOF
-Usage: cpmutil.sh package fetch [a|--all] [PACKAGE]...
-
-Fetch the specified package or packages from their defined download locations.
-If the package is already cached, it will not be re-fetched.
-
-EOF
-
- exit 0
-}
-
-while :; do
- case "$1" in
- -h | --help) usage ;;
- -a | --all) ALL=1 ;;
- "$0") break ;;
- "") break ;;
- *) packages="$packages $1" ;;
- esac
-
- shift
-done
-
-[ "$ALL" != 1 ] || packages="${LIBS:-$packages}"
-[ -n "$packages" ] || usage
-
-for PACKAGE in $packages; do
- unset JSON
- export PACKAGE
-
- # shellcheck disable=SC1091
- . "$SCRIPTS"/vars.sh
-
- fetch_package
-done