Skip to content

Commit a397640

Browse files
committed
chore: fix yubico-piv-checker package name since 1.0.2
1 parent 80b68d1 commit a397640

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/admin/install-yubico-piv-checker.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ basedir=$(readlink -f "$(dirname "$0")"/../..)
1212
set_download_url_package() {
1313
type="$1"
1414
case "$type" in
15-
rpm) set_download_url "/${PROGRAM_NAME}-.+\\.$archre\\.rpm$";;
16-
deb) set_download_url "/${PROGRAM_NAME}_.+_$archre\\.deb$";;
15+
rpm) set_download_url "/(ovh-)?${PROGRAM_NAME}-.+\\.$archre\\.rpm$";;
16+
deb) set_download_url "/(ovh-)?${PROGRAM_NAME}_.+_$archre\\.deb$";;
1717
*) exit 1;;
1818
esac
1919
}
@@ -22,7 +22,7 @@ action_static() {
2222
set_archre
2323
os=$(uname -s | tr '[:upper:]' '[:lower:]')
2424

25-
set_download_url "/${PROGRAM_NAME}.*_${os}_${archre}\\.tar\\.gz$"
25+
set_download_url "/(ovh-)?${PROGRAM_NAME}.*_${os}_${archre}\\.tar\\.gz$"
2626
prepare_temp_folder
2727

2828
_download "$url"

0 commit comments

Comments
 (0)