cl.update: fix version syntax

This commit is contained in:
openoms
2021-10-01 07:37:04 +01:00
parent 979bcce963
commit 225891651c

View File

@@ -18,7 +18,7 @@ mode="$1"
# RECOMMENDED UPDATE BY RASPIBLITZ TEAM # RECOMMENDED UPDATE BY RASPIBLITZ TEAM
# comment will be shown as "BEWARE Info" when option is choosen (can be multiple lines) # comment will be shown as "BEWARE Info" when option is choosen (can be multiple lines)
clUpdateVersion="v0.10.1" # example: v0.10.1 .. keep empty if no newer version as sd card build is available clUpdateVersion="0.10.1" # example: v0.10.1 .. keep empty if no newer version as sd card build is available
clUpdateComment="Please keep in mind that downgrading afterwards is not tested. Also not all additional apps are fully tested with the this update - but it looked good on first tests." clUpdateComment="Please keep in mind that downgrading afterwards is not tested. Also not all additional apps are fully tested with the this update - but it looked good on first tests."
# GATHER DATA # GATHER DATA
@@ -79,7 +79,7 @@ if [ "${mode}" = "verified" ]; then
if [ ${#clUpdateVersion} -gt 0 ];then if [ ${#clUpdateVersion} -gt 0 ];then
/home/admin/config.scripts/cl.install.sh update ${clUpdateVersion} /home/admin/config.scripts/cl.install.sh update v${clUpdateVersion}
else else
/home/admin/config.scripts/cl.install.sh on /home/admin/config.scripts/cl.install.sh on
fi fi