This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $EUID != 0 ]; then | |
echo 'Você precisa ser root para instalar certificados.' | |
exit $? | |
fi | |
# Diretório onde os certificados serão instalados | |
cert_path=`openssl version -d|sed 's/.*\"\(.*\)\"/\1/g'`/certs | |
# Path para o certificado da Cielo |