summaryrefslogtreecommitdiffstats
path: root/abs/core/lirc/lirc.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2012-01-06 18:04:13 (GMT)
committerBritney Fransen <brfransen@gmail.com>2012-01-06 18:04:13 (GMT)
commitb2f541022f2dfa5d1f10aab5bfbc34e03afa554f (patch)
treee2c4bbcebbb1c262247d49c229b6217d712e3c37 /abs/core/lirc/lirc.install
parentaa12d00fa943d9e332638acc03ef32b1cc970d58 (diff)
downloadlinhes_pkgbuild-b2f541022f2dfa5d1f10aab5bfbc34e03afa554f.zip
linhes_pkgbuild-b2f541022f2dfa5d1f10aab5bfbc34e03afa554f.tar.gz
linhes_pkgbuild-b2f541022f2dfa5d1f10aab5bfbc34e03afa554f.tar.bz2
lirc: lirc.install: fix db update for new socket. closes #810
Diffstat (limited to 'abs/core/lirc/lirc.install')
-rw-r--r--abs/core/lirc/lirc.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/abs/core/lirc/lirc.install b/abs/core/lirc/lirc.install
index 1f8fd7c..ba2c957 100644
--- a/abs/core/lirc/lirc.install
+++ b/abs/core/lirc/lirc.install
@@ -16,7 +16,7 @@ post_upgrade() {
"SELECT data FROM settings WHERE value = 'LircSocket' AND hostname = '${hostname}';"`
if [ "${SOCKET}" != "/var/run/lirc/lircd" ]; then
mysql -u mythtv -pmythtv -B --skip-column-names -h "${dbhost}" -D mythconverg -e \
- "UPDATE settings SET data = '/var/run/lirc/lircd' WHERE hostname = '${hostname}';"
+ "UPDATE settings SET data = '/var/run/lirc/lircd' WHERE value = 'LircSocket' AND hostname = '${hostname}';"
else
echo ">>>"
echo ">>> ATTENTION! ATTENTION! ATTENTION!"