| @@ -37,6 +37,8 @@ show_menu () { | |||||
| confirmAnswer "Would you like to install wiringPI? This is required to control the GPIO" | confirmAnswer "Would you like to install wiringPI? This is required to control the GPIO" | ||||
| if [ $? = 0 ]; then | if [ $? = 0 ]; then | ||||
| # By default DietPi does not have this package installed. | |||||
| apt-get -y install build-essential | |||||
| git clone git://git.drogon.net/wiringPi; | git clone git://git.drogon.net/wiringPi; | ||||
| cd wiringPi; | cd wiringPi; | ||||
| ./build; cd ..; | ./build; cd ..; | ||||
| @@ -44,8 +46,7 @@ show_menu () { | |||||
| fi | fi | ||||
| # By default DietPi does not have this package installed. | # By default DietPi does not have this package installed. | ||||
| apt-get -y install build-essential | |||||
| apt-get -y install python-rpi.gpio | |||||
| apt-get -y install python-rpi.gpio | |||||
| apt-get -y install python-setuptools | apt-get -y install python-setuptools | ||||
| easy_install pip | easy_install pip | ||||