mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
* detect release Candidate
This commit is contained in:
parent
3c71712653
commit
27bdcb072c
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ elif [ -d /boot ]; then
|
|||
fi
|
||||
echo "# raspi_bootdir(${raspi_bootdir})"
|
||||
|
||||
# determine if this is a release candidate
|
||||
source <(/home/admin/_cache.sh get codeVersion)
|
||||
# determine if this is a release candidate (use file not cache)
|
||||
codeVersion=$(cat /home/admin/_version.info | grep 'codeVersion="' | cut -d'"' -f2)
|
||||
isReleaseCandidate=0
|
||||
if [[ "$codeVersion" == *"rc"* ]]; then
|
||||
isReleaseCandidate=1
|
||||
|
|
Loading…
Add table
Reference in a new issue