Fixed config file detection from mytoptimize cron job.

This commit is contained in:
Timo Mkinen 2009-09-21 07:33:21 +03:00
parent a8a27c55f0
commit 58deae7730

View file

@ -1,4 +1,5 @@
#!/bin/sh
MYTHCONFDIR="/etc/mythtv"
MYTHVERSION="`rpm -q --queryformat='%{VERSION}\n' mythtv-docs`"
perl /usr/share/doc/mythtv-docs-${MYTHVERSION}/contrib/optimize_mythdb.pl > /dev/null