Update update fixed libusb and 7-modes

fc-mic
Alan Johnston 7 months ago committed by GitHub
parent fb2bcd804d
commit 9a98ea5742
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -35,7 +35,7 @@ if [ "$1" = "u" ]; then
fi fi
sudo apt-get install -y python3-smbus libusb-1.0 # sudo apt-get install -y python3-smbus libusb-1.0
sudo sed -i 's/update.sh/update /g' /etc/motd sudo sed -i 's/update.sh/update /g' /etc/motd
@ -277,6 +277,9 @@ fi
if [ ! -d "/home/pi/fcdctl" ]; then if [ ! -d "/home/pi/fcdctl" ]; then
echo "Installing fcdctl to set FunCubeDongle Pro gain" echo "Installing fcdctl to set FunCubeDongle Pro gain"
sudo rm /var/lib/dpkg/info/python3-pip.list
sudo apt install python3-pip --reinstall
sudo apt-get install -y python3-smbus libusb-1.0
cd cd
git clone https://github.com/csete/fcdctl.git git clone https://github.com/csete/fcdctl.git
cd fcdctl cd fcdctl
@ -285,7 +288,7 @@ fi
cd /home/pi/pi-power-button cd /home/pi/pi-power-button
git checkout master # git checkout master
git pull --no-rebase > .updated_p git pull --no-rebase > .updated_p
@ -294,11 +297,12 @@ git checkout master
echo "updating pi-power-button." echo "updating pi-power-button."
git checkout 7-modes
script/install script/install
FLAG=1 FLAG=1
else else
echo "nothing to do for pi-power-button." echo "nothing to do for pi-power-button."
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.