Commit 97326112 authored by Vinicius Ruoso's avatar Vinicius Ruoso

Removed "." from prd_version_prd1.1_st state

This is necessary because unset can't handle dots.
Signed-off-by: default avatarVinicius Ruoso <vkr07@c3sl.ufpr.br>
parent 454980f7
......@@ -10,25 +10,25 @@ function prd_version_www()
if test "$VERSION" = "NOTEXIST"; then
PSTATETYPE="prd_ajudaremota_ajuda_st:false"
PSTATETYPE="$PSTATETYPE prd_version_noversion_st:true"
PSTATETYPE="$PSTATETYPE prd_version_prd1.1_st:false"
PSTATETYPE="$PSTATETYPE prd_version_prd11_st:false"
PSTATETYPE="$PSTATETYPE prd_version_old_st:false"
PSTATUS=gray
elif grep -q "1\.1" <<< "$VERSION"; then
PSTATETYPE="prd_ajudaremota_ajuda_st:false"
PSTATETYPE="$PSTATETYPE prd_version_noversion_st:false"
PSTATETYPE="$PSTATETYPE prd_version_prd1.1_st:true"
PSTATETYPE="$PSTATETYPE prd_version_prd11_st:true"
PSTATETYPE="$PSTATETYPE prd_version_old_st:false"
PSTATUS=gray
elif test "$VERSION" = "Ajuda Remota"; then
PSTATETYPE="prd_ajudaremota_ajuda_st:true"
PSTATETYPE="$PSTATETYPE prd_version_noversion_st:false"
PSTATETYPE="$PSTATETYPE prd_version_prd1.1_st:false"
PSTATETYPE="$PSTATETYPE prd_version_prd11_st:false"
PSTATETYPE="$PSTATETYPE prd_version_old_st:false"
PSTATUS=gray
else
PSTATETYPE="prd_ajudaremota_ajuda_st:false"
PSTATETYPE="$PSTATETYPE prd_version_noversion_st:false"
PSTATETYPE="$PSTATETYPE prd_version_prd1.1_st:false"
PSTATETYPE="$PSTATETYPE prd_version_prd11_st:false"
if test "$VERSION" != "3.0 Iguaçu"; then
PSTATUS=gray
PSTATETYPE="$PSTATETYPE prd_version_old_st:true"
......
function prd_version_prd1.1_st_getstateinfo()
function prd_version_prd11_st_getstateinfo()
{
STITLE="PrD 1.1"
SDESCRIPTION="Escolas em PrD 1.1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment