summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/install_functions.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-31 00:32:55 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-31 00:33:52 (GMT)
commitad894491177cc6b401ee07dd58ddbfd1226811f9 (patch)
treecb3714a6db58375c474e27ecfed0ad7d91cdd2d2 /abs/core/LinHES-config/install_functions.sh
parent34f908229a491458a8d12f11c8afb4feffb74cad (diff)
downloadlinhes_pkgbuild-ad894491177cc6b401ee07dd58ddbfd1226811f9.zip
linhes_pkgbuild-ad894491177cc6b401ee07dd58ddbfd1226811f9.tar.gz
linhes_pkgbuild-ad894491177cc6b401ee07dd58ddbfd1226811f9.tar.bz2
LinHES-config: removing references to /home/mythv
install_functions.sh added function home_check to aid in removing references to /home/mythtv MythVantage.sh : setup MYTHHOME soundconfig and xconfig both had references but were not used
Diffstat (limited to 'abs/core/LinHES-config/install_functions.sh')
-rwxr-xr-xabs/core/LinHES-config/install_functions.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core/LinHES-config/install_functions.sh b/abs/core/LinHES-config/install_functions.sh
index 69d978d..fd33e00 100755
--- a/abs/core/LinHES-config/install_functions.sh
+++ b/abs/core/LinHES-config/install_functions.sh
@@ -395,6 +395,21 @@ function init_remote {
fi
}
+function home_check(){
+ #This bit of code is used to determine where mythhome is located
+ if [ x$MYTHHOME = x ]
+ then
+ . /etc/profile.d/MythVantage.sh
+ fi
+
+ if [ x$MYTHHOME = x ]
+ then
+ echo "MYTHHOME not defined!"
+ exit 1
+ fi
+
+ }
+
#-----------------------