Commit 2d93d912 authored by tiagof's avatar tiagof
Browse files

update ca-certificates when install or update the program

parent 88363c7c
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
DIR_I="$HOME/Logger" DIR_I="$HOME/Logger"
update_program () { update_program () {
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates -y
sudo update-ca-certificates
git -C $DIR_I pull git -C $DIR_I pull
} }
...@@ -10,6 +13,8 @@ install_program () { ...@@ -10,6 +13,8 @@ install_program () {
#Maybe needed? #Maybe needed?
sudo apt-add-repository universe sudo apt-add-repository universe
sudo apt-get update sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates -y
sudo update-ca-certificates
#Maybe needed? #Maybe needed?
#sudo apt-get -y install software-properties-common #sudo apt-get -y install software-properties-common
sudo apt-get -y install python3-pip sudo apt-get -y install python3-pip
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment