Fix an error flagged by shellcheck.

This commit is contained in:
Paul Chote
2018-06-26 22:05:00 +01:00
parent 6adff732eb
commit 29442cec13

View File

@@ -51,7 +51,7 @@ fi
# Some distros and self-compiled mono installations don't set up # Some distros and self-compiled mono installations don't set up
# the SSL required for http web queries. If we detect that these # the SSL required for http web queries. If we detect that these
# are missing we can try and create a local sync as a fallback. # are missing we can try and create a local sync as a fallback.
if [ ! -d "/usr/share/.mono/certs" ] && [ ! -d "~/.config/.mono/certs" ]; then if [ ! -d "/usr/share/.mono/certs" ] && [ ! -d "${HOME}/.config/.mono/certs" ]; then
if [ -f "/etc/pki/tls/certs/ca-bundle.crt" ]; then if [ -f "/etc/pki/tls/certs/ca-bundle.crt" ]; then
cert-sync --quiet --user /etc/pki/tls/certs/ca-bundle.crt cert-sync --quiet --user /etc/pki/tls/certs/ca-bundle.crt
elif [ -f "/etc/ssl/certs/ca-certificates.crt" ]; then elif [ -f "/etc/ssl/certs/ca-certificates.crt" ]; then