More fixes to mythorphans error handling.
This commit is contained in:
parent
0a43c3c651
commit
393cdceb4e
1 changed files with 6 additions and 2 deletions
|
@ -1,8 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# read in configs
|
||||
MYTHVERSION="`rpm -q --queryformat='%{VERSION}\n' mythtv-docs`" || \
|
||||
echo "mythtv-docs package not installed" 1>&2 ; exit 1
|
||||
MYTHVERSION="`rpm -q --queryformat='%{VERSION}\n' mythtv-docs`"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "mythtv-docs package not installed" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
. /etc/mythtv/mysql.txt
|
||||
|
||||
if [ -z "${LocalHostName}" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue