Skip to content

Commit 9107d82

Browse files
committed
dietpi-software: Raspotify: remove ARMv6 code
1 parent 0d7a0df commit 9107d82

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

dietpi/dietpi-software

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ Available commands:
517517
aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/media/#raspotify'
518518
aSOFTWARE_DEPS[$software_id]='5 152'
519519
# - ARMv6: https://github.com/dtcooper/raspotify/wiki/Raspotify-on-Pi-v1's-and-Pi-Zero-v1.x
520-
aSOFTWARE_AVAIL_G_DISTRO[$software_id,$G_DISTRO]=0
520+
aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,1]=0
521521
#------------------
522522
software_id=80
523523
aSOFTWARE_NAME[$software_id]='Ubooquity'
@@ -10857,21 +10857,15 @@ _EOF_
1085710857

1085810858
if To_Install 167 raspotify # Raspotify: https://github.com/dtcooper/raspotify/blob/master/install.sh
1085910859
then
10860-
# ARMv6: 0.31.8.1 is the last version supporting ARMv6: https://github.com/dtcooper/raspotify/wiki/Raspotify-on-Pi-v1's-and-Pi-Zero-v1.x, https://github.com/dtcooper/raspotify/commit/345f15c
10861-
if (( $G_HW_ARCH == 1 ))
10862-
then
10863-
Download_Install 'https://github.com/dtcooper/raspotify/releases/download/0.31.8.1/raspotify_0.31.8.1.librespot.v0.3.1-54-gf4be9bb_armhf.deb'
10864-
else
10865-
# APT key
10866-
Download_Install 'https://dtcooper.github.io/raspotify/key.asc' /etc/apt/trusted.gpg.d/dietpi-raspotify.asc
10860+
# APT key
10861+
Download_Install 'https://dtcooper.github.io/raspotify/key.asc' /etc/apt/trusted.gpg.d/dietpi-raspotify.asc
1086710862

10868-
# APT list
10869-
G_EXEC eval 'echo '\''deb https://dtcooper.github.io/raspotify raspotify main'\'' > /etc/apt/sources.list.d/dietpi-raspotify.list'
10870-
G_AGUP
10863+
# APT list
10864+
G_EXEC eval 'echo '\''deb https://dtcooper.github.io/raspotify raspotify main'\'' > /etc/apt/sources.list.d/dietpi-raspotify.list'
10865+
G_AGUP
1087110866

10872-
# APT package
10873-
G_AGI raspotify
10874-
fi
10867+
# APT package
10868+
G_AGI raspotify
1087510869

1087610870
# Stop service
1087710871
G_EXEC systemctl stop raspotify

0 commit comments

Comments
 (0)