Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rern committed Jan 11, 2025
1 parent 73aebe9 commit dbaf0c2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@ alias=r1

. /srv/http/bash/settings/addons.sh

# 20250110
# 20250111
if [[ -e /boot/kernel.img ]]; then
if [[ $( pacman -Q cava ) != 'cava 0.7.4-1' ]]; then
wget https://github.com/rern/rern.github.io/raw/refs/heads/main/armv6h/cava-0.7.4-1-any.pkg.tar.xz
pacman -U --noconfirm cava-0.7.4-1-any.pkg.tar.xz
rm cava-0.7.4-1-any.pkg.tar.xz
fi
else
[[ $( pacman -Q cava ) != 'cava 0.10.3-2' ]] && pacman -Sy --noconfirm cava
fi

if [[ $( pacman -Q python-rpi-gpio ) != 'python-rpi-gpio 0.7.1-3' ]]; then
pacman -R --noconfirm python-rpi-gpio
pacman -Sy --noconfirm python-rpi-gpio
Expand Down

0 comments on commit dbaf0c2

Please sign in to comment.