summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-scripts/remove_php_mythvideo.sh
blob: d9d53a0864fea1801c2dd1f223f45b0b4f539b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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