Rename arch-s3 binaries

This commit is contained in:
斟酌 鵬兄 2023-10-08 01:47:13 +08:00
parent e1aa01423f
commit d4ce0501a1

View File

@ -308,6 +308,7 @@ function kstore-dl-s3au {
__download "$p/$_NAME" > $tmp
sha256sum $tmp | grep -q "$_CSUM"
if [ $? -eq 0 ]; then
_NAME=$( basename "${_NAME//_/-}" .sh )
mv $tmp "$RBASH_BIN/$_NAME"
chmod +x "$RBASH_BIN/$_NAME"
echo "> $RBASH_BIN/$_NAME"
@ -325,7 +326,6 @@ function kstore-sync {
kstore-dl-s3au "0bee6f925a41f496f66654062b49ea2a1cc55d877f4617d56bf91244aaf0be51" "arch_getacl_aws4.sh" || return 1
kstore-dl-s3au "dcb89894e78351af702fabb521cf1cf6ca512db9cd4cf3c70631bb1e51ab9340" "arch_list_aws4.sh" || return 1
kstore-dl-s3au "918cd96e5dd6f3a29f9ac90dc70b14eee595da31a8b6c74bdcd67d393b60ae3e" "arch_upload_aws4.sh" || return 1
kstore-dl-s3au "160d29693625db3c71334d3e21a4cbba96d8af119306bea1ed935593be28dc62" "create-k8s-secrets.sh" || return 1
}
function kstore-search {