summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-08 03:42:58 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-08 03:42:58 (GMT)
commit3d91b06198a56b6579cb0bd77de65f5908571b87 (patch)
tree79b04c7d23b5fc46353fe75de55f9ae4203fb1fd /abs/core-testing/LinHES-config
parentd2549a3ee0e9a28f66ff832d3efa93c7a4d7e5af (diff)
downloadlinhes_pkgbuild-3d91b06198a56b6579cb0bd77de65f5908571b87.zip
linhes_pkgbuild-3d91b06198a56b6579cb0bd77de65f5908571b87.tar.gz
linhes_pkgbuild-3d91b06198a56b6579cb0bd77de65f5908571b87.tar.bz2
change the location of mysql.txt to match the installation dir of mythtv.
This fixes FE only install types
Diffstat (limited to 'abs/core-testing/LinHES-config')
-rwxr-xr-xabs/core-testing/LinHES-config/PKGBUILD2
-rwxr-xr-xabs/core-testing/LinHES-config/systemconfig.sh8
2 files changed, 5 insertions, 5 deletions
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index 80ff873..521e665 100755
--- 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=2
+pkgrel=3
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)
diff --git a/abs/core-testing/LinHES-config/systemconfig.sh b/abs/core-testing/LinHES-config/systemconfig.sh
index ba6325b..a12546a 100755
--- a/abs/core-testing/LinHES-config/systemconfig.sh
+++ b/abs/core-testing/LinHES-config/systemconfig.sh
@@ -85,18 +85,18 @@ function setupmysql {
fi
fi
- MYSQLTXT=${BASE}/usr/local/share/mythtv/mysql.txt
+ MYSQLTXT=${BASE}/usr/share/mythtv/mysql.txt
if [ $SystemType = "Standalone" ]
then
sed -e "s/^DBHostName=.*$/DBHostName="localhost"/" $TEMPLATES/mysql.txt > $MYSQLTXT
else
sed -e "s/^DBHostName=.*$/DBHostName=$dbhost/" $TEMPLATES/mysql.txt > $MYSQLTXT
fi
- rm ${BASE}/data/home/mythtv/.mythtv/mysql.txt
+ rm ${BASE}/home/mythtv/.mythtv/mysql.txt
rm ${BASE}${MV_ROOT}/bin/mythtv/.mythtv/mysql.txt
- if [ -f ${BASE}/data/home/mythtv/templates/mysql.txt ]
+ if [ -f ${BASE}/home/mythtv/templates/mysql.txt ]
then
- cp ${BASE}/data/home/mythtv/templates/mysql.txt $MYSQLTXT
+ cp ${BASE}/home/mythtv/templates/mysql.txt $MYSQLTXT
fi
chmod 755 $MYSQLTXT