Fixed shellcheck linting

This commit is contained in:
cytopia
2022-12-08 07:35:03 +01:00
parent d79d834413
commit 92b217fc53

View File

@@ -17,6 +17,7 @@ update_ca_certificates() {
local debug="${2}"
if [ -d "${dir}" ]; then
# shellcheck disable=SC2044
for cert in $( find "${dir}" -name \*.crt ); do
name="$( basename "${cert}" )"
run "cp ${cert} /usr/local/share/ca-certificates/devilbox-${name}" "${debug}"