Skip to content

Commit

Permalink
Fix vlcradio setup.sh to support raspbian buster
Browse files Browse the repository at this point in the history
- added buster to supported releases
- added seperate pkgdeplist for buster as vlc-nox is gone
  • Loading branch information
mstahel committed Sep 19, 2019
1 parent 5792564 commit 20957ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/vlc-radio/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ osreleases=( "Raspbian" ) # list os-releases supported
oswarning=() # list experimental os-releases
osdeny=( "Darwin" "Debian" "Kali" "Kano" "Mate" "PiTop" "RetroPie" "Ubuntu" "Volumio" ) # list os-releases specifically disallowed
pkgdeplist=( "vlc-nox" ) # list of dependencies
pkgdeplist_buster=( "vlc-bin" "vlc-plugin-base" ) # vlc-nox not in buster

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -199,6 +200,9 @@ raspbian_check() {
if [ -f /etc/os-release ]; then
if cat /etc/os-release | grep -q "/sid"; then
IS_SUPPORTED=false && IS_EXPERIMENTAL=true
elif cat /etc/os-release | grep -q "buster"; then
IS_SUPPORTED=true && IS_EXPERIMENTAL=false
pkgdeplist=${pkgdeplist_buster[@]}
elif cat /etc/os-release | grep -q "stretch"; then
IS_SUPPORTED=false && IS_EXPERIMENTAL=true
elif cat /etc/os-release | grep -q "jessie"; then
Expand Down

0 comments on commit 20957ff

Please sign in to comment.