Update argon1-pifan.sh
This commit is contained in:
parent
656ed4540d
commit
232addf26e
|
|
@ -29,12 +29,14 @@ then
|
||||||
CHECKPLATFORM="Raspbian"
|
CHECKPLATFORM="Raspbian"
|
||||||
pkglist=(raspi-gpio python3-rpi.gpio python3-smbus i2c-tools)
|
pkglist=(raspi-gpio python3-rpi.gpio python3-smbus i2c-tools)
|
||||||
else
|
else
|
||||||
# Ubuntu has serial and i2c enabled
|
# Ubuntu has serial and i2c enabled and add Debian-Pi-Aarch64 Support
|
||||||
pkglist=(python3-rpi.gpio python3-smbus i2c-tools)
|
pkglist=(python3-rpi.gpio python3-smbus i2c-tools python3-pip lirc librc-dev liblircclient-dev )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for curpkg in ${pkglist[@]}; do
|
for curpkg in ${pkglist[@]}; do
|
||||||
sudo apt-get install -y $curpkg
|
sudo apt-get install -y $curpkg
|
||||||
|
# add Debian-Pi-Aarch64 support
|
||||||
|
sudo pip3 install lirc
|
||||||
RESULT=$(argon_check_pkg "$curpkg")
|
RESULT=$(argon_check_pkg "$curpkg")
|
||||||
if [ "NG" == "$RESULT" ]
|
if [ "NG" == "$RESULT" ]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue