summaryrefslogtreecommitdiffstats
path: root/abs/core/lirc/lirc.install
diff options
context:
space:
mode:
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!"