File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,18 @@ function _update_hook_kodi() {
21
21
}
22
22
23
23
function depends_kodi() {
24
- # raspbian
24
+ # Raspberry Pi OS
25
25
if [[ " $__os_id " = " Raspbian" ]] && isPlatform " rpi" ; then
26
- if [[ " $md_mode " == " install" ]]; then
27
- # remove old repository
28
- rm -f /etc/apt/sources.list.d/mene.list
29
- echo " deb http://pipplware.pplware.pt/pipplware/dists/$__os_codename /main/binary/ ./" > /etc/apt/sources.list.d/pipplware.list
30
- download http://pipplware.pplware.pt/pipplware/key.asc - | apt-key add - & > /dev/null
31
- else
32
- rm -f /etc/apt/sources.list.d/pipplware.list
33
- apt-key del 4096R/BAA567BB > /dev/null
26
+ if [[ " $__os_debian_ver " -le 10 ]]; then
27
+ if [[ " $md_mode " == " install" ]]; then
28
+ # remove old repository
29
+ rm -f /etc/apt/sources.list.d/mene.list
30
+ echo " deb http://pipplware.pplware.pt/pipplware/dists/$__os_codename /main/binary/ ./" > /etc/apt/sources.list.d/pipplware.list
31
+ download http://pipplware.pplware.pt/pipplware/key.asc - | apt-key add - & > /dev/null
32
+ else
33
+ rm -f /etc/apt/sources.list.d/pipplware.list
34
+ apt-key del 4096R/BAA567BB > /dev/null
35
+ fi
34
36
fi
35
37
# ubuntu
36
38
elif [[ -n " $__os_ubuntu_ver " ]] && isPlatform " x86" ; then
You can’t perform that action at this time.
0 commit comments