- rm -f "${BASEDIR}/certs/${domain}/cert.csr"
- ln -s "cert-${timestamp}.csr" "${BASEDIR}/certs/${domain}/cert.csr"
-
- rm -f "${BASEDIR}/certs/${domain}/cert.pem"
- ln -s "cert-${timestamp}.pem" "${BASEDIR}/certs/${domain}/cert.pem"
+ ln -sf "cert-${timestamp}.csr" "${BASEDIR}/certs/${domain}/cert.csr"
+ ln -sf "cert-${timestamp}.pem" "${BASEDIR}/certs/${domain}/cert.pem"