mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 02:09:15 +01:00
check if version is available
This commit is contained in:
parent
c22a3b3fa1
commit
fafcf82538
@ -27,6 +27,13 @@ fi
|
||||
# load old or init raspiblitz config
|
||||
source ${configFile}
|
||||
|
||||
# check if config files contains basic: version
|
||||
if [ ${#raspiBlitzVersion} -eq 0 ]; then
|
||||
echo "FAIL see ${logFile}"
|
||||
echo "FAIL: missing raspiBlitzVersion in (${configFile})!" >> ${logFile}
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# check if config files contains basic: network
|
||||
if [ ${#network} -eq 0 ]; then
|
||||
echo "FAIL see ${logFile}"
|
||||
|
@ -26,6 +26,13 @@ if [ ${configExists} -eq 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# check if config files contains basic: version
|
||||
if [ ${#raspiBlitzVersion} -eq 0 ]; then
|
||||
echo "FAIL see ${logFile}"
|
||||
echo "FAIL: missing raspiBlitzVersion in (${configFile})!" >> ${logFile}
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# check if config files contains basic: network
|
||||
if [ ${#network} -eq 0 ]; then
|
||||
echo "FAIL see ${logFile}"
|
||||
|
Loading…
Reference in New Issue
Block a user