@ -303,12 +303,12 @@ checkout() {
fi
fi
webbranches = ( $( get_available_branches " ${ webInterfaceDir } " ) )
webbranches = ( $( get_available_branches " ${ webInterfaceDir } " ) )
if [ [ " ${ core branches[@] } " = = *"master" * ] ] ; then
if [ [ " ${ web branches[@] } " = = *"master" * ] ] ; then
echo -e " ${ OVER } ${ TICK } $str
echo -e " ${ OVER } ${ TICK } $str
${ INFO } ${# webbranches [@] } branches available for Web Admin"
${ INFO } ${# webbranches [@] } branches available for Web Admin"
else
else
# Print STDERR output from get_available_branches
# Print STDERR output from get_available_branches
echo -e " ${ OVER } ${ CROSS } $str \n\n ${ core branches[*] } "
echo -e " ${ OVER } ${ CROSS } $str \n\n ${ web branches[*] } "
exit 1
exit 1
fi
fi
@ -329,12 +329,11 @@ checkout() {
if check_download_exists " $path " ; then
if check_download_exists " $path " ; then
echo " ${ TICK } Branch ${ 2 } exists "
echo " ${ TICK } Branch ${ 2 } exists "
FTLinstall " ${ binary } " " ${ path } "
else
else
echo " ${ CROSS } Requested branch \" ${ 2 } \" is not available "
echo " ${ CROSS } Requested branch \" ${ 2 } \" is not available "
fi
fi
FTLinstall " ${ binary } " " ${ path } "
else
else
echo -e " ${ INFO } Requested option \" ${ 1 } \" is not available "
echo -e " ${ INFO } Requested option \" ${ 1 } \" is not available "
exit 1
exit 1