summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--abs/core-testing/LinHES-config/PKGBUILD2
-rwxr-xr-xabs/core-testing/LinHES-config/systemconfig.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index c1f1a14..d3d6353 100644
--- a/abs/core-testing/LinHES-config/PKGBUILD
+++ b/abs/core-testing/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-config
pkgver=1.0
-pkgrel=340
+pkgrel=342
conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev )
pkgdesc="Install and configure your system"
depends=(bc libstatgrab mysql-python expect curl dnsutils parted sg3_utils nmbscan system-templates )
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
;;