From 393b661f2812316d39eb648e971a7719d5f835b6 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Thu, 19 Mar 2009 20:27:39 -0500 Subject: LinHES-config: systemconfig.sh fix off by 1 for xscreensaver hack --- abs/core-testing/LinHES-config/PKGBUILD | 2 +- abs/core-testing/LinHES-config/systemconfig.sh | 4 ++-- 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 ;; -- cgit v0.12