summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/tweaker
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-07-09 02:03:54 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-07-09 02:03:54 (GMT)
commit2eee989ecb7f1494dc4582ac3f4602078ada13aa (patch)
tree5119f388ecfe50b3c82270d75117f66a67bed1c7 /abs/core-testing/tweaker
parent8368c4962f33d6d6bce6617487c149fd8927f966 (diff)
parentb8c1ca11b76f3d32e9680dfd1cbb611f000f7382 (diff)
downloadlinhes_pkgbuild-2eee989ecb7f1494dc4582ac3f4602078ada13aa.zip
linhes_pkgbuild-2eee989ecb7f1494dc4582ac3f4602078ada13aa.tar.gz
linhes_pkgbuild-2eee989ecb7f1494dc4582ac3f4602078ada13aa.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/tweaker')
-rw-r--r--abs/core-testing/tweaker/PKGBUILD2
-rwxr-xr-xabs/core-testing/tweaker/bin/twk_graphics.pl2
-rw-r--r--abs/core-testing/tweaker/lib/Tweaker/Script.pm2
3 files changed, 3 insertions, 3 deletions
diff --git a/abs/core-testing/tweaker/PKGBUILD b/abs/core-testing/tweaker/PKGBUILD
index 44d8846..5f92817 100644
--- a/abs/core-testing/tweaker/PKGBUILD
+++ b/abs/core-testing/tweaker/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=tweaker
pkgver=1
-pkgrel=32
+pkgrel=34
pkgdesc=""
arch=('i686' 'x86_64')
diff --git a/abs/core-testing/tweaker/bin/twk_graphics.pl b/abs/core-testing/tweaker/bin/twk_graphics.pl
index 4fb6d77..22b6688 100755
--- a/abs/core-testing/tweaker/bin/twk_graphics.pl
+++ b/abs/core-testing/tweaker/bin/twk_graphics.pl
@@ -43,7 +43,7 @@ sub check_for_GL() {
# Now poll the strength, returning the FPS from glxgears, run at the default resolution.
# I would love to be able to poll this in a way that 1) doesn't pop up a GUI window and
# 2) doesn't rely on manually making a database that maps video cards to performance levels.
- $result = execute_shell_command("script -q -c \"glxgears -fullscreen & sleep 11 ; pkill -15 glxgears\" | tail -1");
+ $result = execute_shell_command("script -q -c \"glxgears -fullscreen & sleep 11 ; pkill -15 glxgears\" | grep FPS | tail -1");
if ($result =~ m/ (\d+)\.\d+ FPS/) {
$fps = $1;
execute_shell_command("echo $fps > /tmp/fps");
diff --git a/abs/core-testing/tweaker/lib/Tweaker/Script.pm b/abs/core-testing/tweaker/lib/Tweaker/Script.pm
index 8474f0b..7dd2c8f 100644
--- a/abs/core-testing/tweaker/lib/Tweaker/Script.pm
+++ b/abs/core-testing/tweaker/lib/Tweaker/Script.pm
@@ -80,7 +80,7 @@ sub get_mythtv_connection_string {
# we want something like mythconverg:localhost
my $dbname = "";
my $dbhostname = "";
- open(MYSQLTXT, "< /usr/MythVantage/templates/mysql.txt");
+ open(MYSQLTXT, "< /usr/share/mythtv/mysql.txt");
while(<MYSQLTXT>) {
if (/DBName=(.*)/) {
$dbname=$1;