Просмотр исходного кода

change location of apt build-essentials

pull/188/head
Wendell Borges 7 лет назад
Родитель
Сommit
bf045e0d82
1 измененных файлов: 3 добавлений и 2 удалений
  1. +3
    -2
      install.sh

+ 3
- 2
install.sh Просмотреть файл

@@ -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


Загрузка…
Отмена
Сохранить