tools/setup_wiringPi.sh | ●●●●● patch | view | raw | blame | history |
tools/setup_wiringPi.sh
@@ -1,10 +1,12 @@ #!/bin/bash # This shell script used to install wiringPi library function install_wiringpi() { gpio -v > /dev/null if [ $? == 0 ] ; then echo "wiringPi library already installed, exit now..." exit; return; fi if [ ! -d wiringPi ] ; then @@ -14,4 +16,15 @@ cd wiringPi git pull origin ./build } function install_systools() { sudo apt-get install -y libssl-dev openssl } install_systools install_wiringpi