Skip to content

Commit

Permalink
homegear repo install as per official instructions; removed wiringPi
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Storm <markus.storm@gmx.net>
  • Loading branch information
mstormi committed Oct 4, 2024
1 parent 507a806 commit ac3818a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions functions/packages.bash
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,11 @@ homegear_setup() {
fi
echo -n "$(timestamp) [openHABian] Installing Homegear... "
if ! cond_redirect apt-get update; then echo "FAILED (update apt lists)"; return 1; fi
if is_raspios; then
wget -O "$temp" https://github.com/WiringPi/WiringPi/releases/download/2.61-1/wiringpi-2.61-1-armhf.deb
dpkg -i "$temp"
rm -f "$temp"
fi
# if is_raspios; then
# wget -O "$temp" https://github.com/WiringPi/WiringPi/releases/download/2.61-1/wiringpi-2.61-1-armhf.deb
# dpkg -i "$temp"
# rm -f "$temp"
# fi
if cond_redirect apt-get install --yes -o DPkg::Lock::Timeout="$APTTIMEOUT" homegear homegear-homematicbidcos homegear-homematicwired homegear-max homegear-management; then echo "OK"; else echo "FAILED"; return 1; fi
echo -n "$(timestamp) [openHABian] Setting up Homegear user account permissions... "
if ! cond_redirect adduser "${username:-openhabian}" homegear; then echo "FAILED"; return 1; fi
Expand Down

0 comments on commit ac3818a

Please sign in to comment.