Skip to content

Commit

Permalink
update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
an0Nym0us63 committed Feb 18, 2021
1 parent 0db1a08 commit b32c638
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions resources/install_apt.sh
@@ -1,24 +1,25 @@
PROGRESS_FILE=/tmp/dependancy_broadlink_in_progress
if [ ! -z $1 ]; then
PROGRESS_FILE=$1
fi
touch ${PROGRESS_FILE}
echo 0 > ${PROGRESS_FILE}
echo "********************************************************"
echo "* Installation des dépendances *"
echo "********************************************************"
sudo apt-get update
echo 50 > ${PROGRESS_FILE}
sudo apt-get install -y python3-pip python3-dev python3-pyudev libudev-dev python3-setuptools python3-serial python3-requests libffi-dev libssl-dev
sudo pip3 install wheel
sudo apt-get remove -y python3-cryptography
sudo pip3 uninstall -y cryptography
sudo pip3 install cryptography
sudo pip3 install pycrypto
sudo pip3 install pyudev
sudo pip3 install requests
echo 100 > ${PROGRESS_FILE}
echo "********************************************************"
echo "* Installation terminée *"
echo "********************************************************"
rm ${PROGRESS_FILE}
PROGRESS_FILE=/tmp/dependancy_broadlink_in_progress
if [ ! -z $1 ]; then
PROGRESS_FILE=$1
fi
touch ${PROGRESS_FILE}
echo 0 > ${PROGRESS_FILE}
echo "********************************************************"
echo "* Installation des dépendances *"
echo "********************************************************"
sudo apt-get update
echo 50 > ${PROGRESS_FILE}
sudo apt-get install -y python3-pip python3-dev python3-pyudev libudev-dev python3-setuptools python3-serial python3-requests libffi-dev libssl-dev
sudo pip3 install wheel
sudo apt-get remove -y python3-cryptography
sudo pip3 uninstall -y cryptography
sudo pip3 install cryptography==2.6.1
sudo pip3 install pycrypto
sudo pip3 install pyudev
sudo pip3 install requests
sudo pip3 install asn1crypto
echo 100 > ${PROGRESS_FILE}
echo "********************************************************"
echo "* Installation terminée *"
echo "********************************************************"
rm ${PROGRESS_FILE}

0 comments on commit b32c638

Please sign in to comment.