summaryrefslogtreecommitdiffstats
path: root/abs/core
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
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')
-rw-r--r--abs/core/lirc/PKGBUILD2
-rw-r--r--abs/core/lirc/lirc.install2
2 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/lirc/PKGBUILD b/abs/core/lirc/PKGBUILD
index 205f231..0ce8b69 100644
--- a/abs/core/lirc/PKGBUILD
+++ b/abs/core/lirc/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=lirc
pkgname=('lirc' 'lirc-utils')
pkgver=0.9.0
-pkgrel=9
+pkgrel=10
#epoch=1
_kernver=2.6.39-LinHES
arch=('i686' 'x86_64')
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!"