[go: nahoru, domu]

Skip to content

Commit

Permalink
set to Ubuntu Only
Browse files Browse the repository at this point in the history
modern kodi is not available in debian repositories.  I've set the target to ubuntu only.
  • Loading branch information
zguithues committed Jun 29, 2017
1 parent cdde38e commit 1ab5475
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions targets/kodi
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,19 @@
if [ "${TARGETNOINSTALL:-c}" = 'c' ]; then
if [ "$DISTRO" = 'kali' ]; then
error 99 "Kodi not supported on Kali Linux."
elif [ "$DISTRO" = 'debian' ]; then
error 99 "Kodi not supported on Debian."
fi
fi
REQUIRES='x11'
PROVIDES='xbmc'
DESCRIPTION='Installs the KODI media player. (Approx. 140MB)'
DESCRIPTION='Installs the KODI media player. Ubuntu Only. (Approx. 140MB)'
HOSTBIN='startkodi'
CHROOTETC='kodi-keyboard.xml kodi-cycle.py'
. "${TARGETSDIR:="$PWD"}/common"

### Append to prepare.sh:

# Kodi wiki recommends using the Jessie Backports repository
if release -le jessie; then
cat > '/etc/apt/sources.list.d/kodi.list' <<EOF
# Bring in Jessie Backports for newer Kodi
deb http://http.debian.net/debian jessie-backports main
EOF
# Update database
apt-get update || true
fi

# Kodi has an official ppa for the latest stable version
if [ "$DISTRO" = 'ubuntu' ]; then
# Pull in the signing key
Expand Down

0 comments on commit 1ab5475

Please sign in to comment.