diff options
author | Michael Hanson <hansonorders@verison.net> | 2010-04-17 01:25:59 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verison.net> | 2010-04-17 01:25:59 (GMT) |
commit | a9da071fd6131a31bd2e1ff7480d41e13e586bec (patch) | |
tree | 30af7d8d406d9d6f3a3053297b32d737f41f76ac /abs/core-testing/linhes-scripts/remove_php_mythvideo.sh | |
parent | 3ca211e53ef8e87ebd8a8f9d90a25699a5743058 (diff) | |
download | linhes_pkgbuild-a9da071fd6131a31bd2e1ff7480d41e13e586bec.zip linhes_pkgbuild-a9da071fd6131a31bd2e1ff7480d41e13e586bec.tar.gz linhes_pkgbuild-a9da071fd6131a31bd2e1ff7480d41e13e586bec.tar.bz2 |
linhes-scripts: add logic in remove_php_mythvideo.sh to combat mysql error.
closes #683
Diffstat (limited to 'abs/core-testing/linhes-scripts/remove_php_mythvideo.sh')
-rw-r--r-- | abs/core-testing/linhes-scripts/remove_php_mythvideo.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/abs/core-testing/linhes-scripts/remove_php_mythvideo.sh b/abs/core-testing/linhes-scripts/remove_php_mythvideo.sh index 5320756..d9d53a0 100644 --- a/abs/core-testing/linhes-scripts/remove_php_mythvideo.sh +++ b/abs/core-testing/linhes-scripts/remove_php_mythvideo.sh @@ -1,6 +1,13 @@ #!/bin/bash +. /etc/systemconfig + +if [ $SystemType != Frontend_only ] && [ $SystemType != Slave_backend ] ; then mysql mythconverg <<EOF delete from videotypes where extension='php'; insert into videotypes(extension,f_ignore) values('php','1'); EOF + +else + exit 0 +fi |