generic-packs: support oci:// references via install-oci-pack (#4164)

This commit is contained in:
Chip Wolf ‮ authored and GitHub committed 2026-07-16 17:29:05 -05:00
1 parent 3302bdb3cb
commit 591f37bfa5
7 files changed
+84 -1

No files matched your search

+6
View File
@@ -173,6 +173,12 @@ function isURL() {
[[ $value =~ ^(https?|ftp):// ]]
}
function isOCIRef() {
local value=$1
[[ $value =~ ^oci:// ]]
}
function isValidFileURL() {
suffix=${1:?Missing required suffix arg}
url=${2:?Missing required url arg}