summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/linhes-scripts/remove_php_mythvideo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/linhes-scripts/remove_php_mythvideo.sh')
-rw-r--r--abs/core-testing/linhes-scripts/remove_php_mythvideo.sh7
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