增加删改

This commit is contained in:
lsy 2024-09-27 14:36:25 +08:00
parent dfe7a2da52
commit 3e26629bc6

View File

@ -22,7 +22,7 @@ case $pick in
done done
read -p "请输入要查看证书详细信息的序号:" pick read -p "请输入要查看证书详细信息的序号:" pick
if [[ $pick =~ [1-${#print_arr[@]}] ]]; then if [[ $pick =~ [1-${#print_arr[@]}] ]]; then
bash "${HOME}/.acme.sh -info -d ${print_arr[$pick]}" bash "${HOME}/.acme.sh/acme.sh -info -d ${print_arr[$pick]}"
else else
echo "选择错误" echo "选择错误"
fi fi