change curl to wget

This commit is contained in:
Aliberk Sandıkçı 2022-10-27 11:06:45 +03:00
parent 7a942f177e
commit 824f0f0f17
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ mkdir tmp_install
cd tmp_install || exit
sudo apt install curl -y
if [ "$1" == 1 ]; then
curl https://sertifika.meb.gov.tr/MEB_SERTIFIKASI.cer --output MEB_SERTIFIKASI.cer
wget http://sertifika.meb.gov.tr/MEB_SERTIFIKASI.cer
openssl x509 -inform DER -in MEB_SERTIFIKASI.cer -out MEB_SERTIFIKASI.crt
sudo cp MEB_SERTIFIKASI.crt /usr/local/share/ca-certificates/
sudo chmod 644 /usr/local/share/ca-certificates/MEB_SERTIFIKASI.crt