mv
This commit is contained in:
parent
636f53713b
commit
530681b688
1 changed files with 13 additions and 9 deletions
22
spcd/main.sh
22
spcd/main.sh
|
@ -251,6 +251,19 @@ spcd_git_url() {
|
|||
fi
|
||||
}
|
||||
|
||||
# ╭───────────┬─────────╮
|
||||
# │ functions │ openssl │
|
||||
# ╰───────────┴─────────╯
|
||||
|
||||
spcd_openssl_x509() {
|
||||
spcd_openssl_x509__file="${1}"
|
||||
if [ -f "${spcd_openssl_x509__file}" ]; then
|
||||
openssl x509 \
|
||||
-in "${spcd_openssl_x509__file}" \
|
||||
-noout -text
|
||||
fi
|
||||
}
|
||||
|
||||
# ╭───────────┬────╮
|
||||
# │ functions │ os │
|
||||
# ╰───────────┴────╯
|
||||
|
@ -1232,15 +1245,6 @@ spcd_install_package() {
|
|||
fi
|
||||
}
|
||||
|
||||
spcd_openssl_x509() {
|
||||
spcd_openssl_x509__file="${1}"
|
||||
if [ -f "${spcd_openssl_x509__file}" ]; then
|
||||
openssl x509 \
|
||||
-in "${spcd_openssl_x509__file}" \
|
||||
-noout -text
|
||||
fi
|
||||
}
|
||||
|
||||
#╶──────────────────────────────────────╴
|
||||
|
||||
# ╭──────╮
|
||||
|
|
Loading…
Reference in a new issue