summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config/systemconfig.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-12 17:19:26 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-12 17:19:26 (GMT)
commitb49362d14f8daa5a85c215a0db9a3a9d5072df25 (patch)
treed7dfe880a0dd9612f0b2080fa61a05d5b1169d8c /abs/core-testing/LinHES-config/systemconfig.sh
parent4e9cb3463d29a71b43fe053e72f829e37ef7ef27 (diff)
downloadlinhes_pkgbuild-b49362d14f8daa5a85c215a0db9a3a9d5072df25.zip
linhes_pkgbuild-b49362d14f8daa5a85c215a0db9a3a9d5072df25.tar.gz
linhes_pkgbuild-b49362d14f8daa5a85c215a0db9a3a9d5072df25.tar.bz2
Connect the new software config items int /etc/systemconfig to systemconfig.sh.
Diffstat (limited to 'abs/core-testing/LinHES-config/systemconfig.sh')
-rwxr-xr-xabs/core-testing/LinHES-config/systemconfig.sh92
1 files changed, 59 insertions, 33 deletions
diff --git a/abs/core-testing/LinHES-config/systemconfig.sh b/abs/core-testing/LinHES-config/systemconfig.sh
index 8c21242..4fdbea0 100755
--- a/abs/core-testing/LinHES-config/systemconfig.sh
+++ b/abs/core-testing/LinHES-config/systemconfig.sh
@@ -391,45 +391,71 @@ function setupplugins (){
pkglistinstall=""
pkglistremove=""
#default enabled
-for i in mythcontrols mythgallery mythmovietime mythmusic mythsmolt mythvideo mythappletrailers mythstream mythvodka
+for i in mythcontrols mythgallery mythmovietime mythmusic mythsmolt mythvideo
do
-eval pkgvalue=\$${i}
-
-if [ x$pkgvalue = x ]
- then
- pkglistinstall="$pkglistinstall $i$postfix"
- else
- if [ x$pkgvalue = x1 ]
- then
- pkglistinstall="$pkglistinstall $i$postfix"
- else
- pkglistremove="$pkglistremove $i$postfix"
- fi
- fi
-
-
-
+ eval pkgvalue=\$${i}
+ if [ x$pkgvalue = x ]
+ then
+ pkglistinstall="$pkglistinstall $i$postfix"
+ else
+ if [ x$pkgvalue = x1 ]
+ then
+ pkglistinstall="$pkglistinstall $i$postfix"
+ else
+ pkglistremove="$pkglistremove $i$postfix"
+ fi
+ fi
done
+#default disabled
+for i in mythphone mytharchive mythbrowser mythnews mythgame mythflix mythweather mythappletrailers mythstream mythvodka
+do
+ eval pkgvalue=\$${i}
+ if [ x$pkgvalue = x ]
+ then
+ pkglistremove="$pkglistremove $i$postfix"
+ else
+ if [ x$pkgvalue = x1 ]
+ then
+ pkglistinstall="$pkglistinstall $i$postfix"
+ else
+ pkglistremove="$pkglistremove $i$postfix"
+ fi
+ fi
+done
+#everything else
+for i in miro xe romdb xine dvdcss
+do
+ case $i in
+ xine)
+ if [ x$pkgvalue = x1 ]
+ then
+ pkglistinstall="$pkglistinstall xine-ui"
+ else
+ pkglistremove="$pkglistremove xine-ui"
+ fi
+ ;;
+ dvdcss)
+ if [ x$pkgvalue = x1 ]
+ then
+ pkglistinstall="$pkglistinstall libdvdcss"
+ else
+ pkglistremove="$pkglistremove libdvdcss"
+ fi
+ ;;
+ *)
+ if [ x$pkgvalue = x1 ]
+ then
+ pkglistinstall="$pkglistinstall $i"
+ else
+ pkglistremove="$pkglistremove $i"
+ fi
+ ;;
+esac
+done
-#default disabled
- for i in mythphone mytharchive mythbrowser mythnews mythgame mythflix mythweather
- do
-eval pkgvalue=\$${i}
-if [ x$pkgvalue = x ]
- then
- pkglistremove="$pkglistremove $i$postfix"
- else
- if [ x$pkgvalue = x1 ]
- then
- pkglistinstall="$pkglistinstall $i$postfix"
- else
- pkglistremove="$pkglistremove $i$postfix"
- fi
- fi
- done
install="$pkglistinstall $install"
remove="$pkglistremove $remove"