summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config/systemconfig.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-20 01:27:39 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-20 01:27:39 (GMT)
commit393b661f2812316d39eb648e971a7719d5f835b6 (patch)
tree7826c250836e6faa4313aaa7b24f941eab0fa819 /abs/core-testing/LinHES-config/systemconfig.sh
parent7a7490cd1120193f64e4fb1462ca61cdc2ec89ad (diff)
downloadlinhes_pkgbuild-393b661f2812316d39eb648e971a7719d5f835b6.zip
linhes_pkgbuild-393b661f2812316d39eb648e971a7719d5f835b6.tar.gz
linhes_pkgbuild-393b661f2812316d39eb648e971a7719d5f835b6.tar.bz2
LinHES-config: systemconfig.sh fix off by 1 for xscreensaver hack
Diffstat (limited to 'abs/core-testing/LinHES-config/systemconfig.sh')
-rwxr-xr-xabs/core-testing/LinHES-config/systemconfig.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core-testing/LinHES-config/systemconfig.sh b/abs/core-testing/LinHES-config/systemconfig.sh
index ebc3489..ec5c749 100755
--- a/abs/core-testing/LinHES-config/systemconfig.sh
+++ b/abs/core-testing/LinHES-config/systemconfig.sh
@@ -394,7 +394,7 @@ pkglistremove=""
#default enabled
for i in mythcontrols mythgallery mythmovietime mythmusic mythsmolt mythvideo
do
- eval pkgvalue=\$${i}
+ eval pkgvalue=\$${i}
if [ x$pkgvalue = x ]
then
pkglistinstall="$pkglistinstall $i$postfix"
@@ -1130,7 +1130,7 @@ case x$Screensavertype in
#set the theme
start=`awk '/programs/{print NR" "}' $MYTHHOME/.xscreensaver`
ss=`awk '/'$Screensavertheme'/{print NR" "}' $MYTHHOME/.xscreensaver`
- sspos=$((ss-start))
+ sspos=$((ss-start-1))
sed -i "s/^selected.*$/selected: $sspos/g" $MYTHHOME/.xscreensaver
;;