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
|
#!/bin/sh
|
||||||
|
|
||||||
# read in configs
|
# read in configs
|
||||||
MYTHVERSION="`rpm -q --queryformat='%{VERSION}\n' mythtv-docs`" || \
|
MYTHVERSION="`rpm -q --queryformat='%{VERSION}\n' mythtv-docs`"
|
||||||
echo "mythtv-docs package not installed" 1>&2 ; exit 1
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "mythtv-docs package not installed" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
. /etc/mythtv/mysql.txt
|
. /etc/mythtv/mysql.txt
|
||||||
|
|
||||||
if [ -z "${LocalHostName}" ]; then
|
if [ -z "${LocalHostName}" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue