Skip to content

Commit

Permalink
Merge pull request RocketChat#27 from mblo/master
Browse files Browse the repository at this point in the history
Update rocketchatctl
  • Loading branch information
LuluGO authored Jul 29, 2020
2 parents b5c0e90 + 4ab985a commit 4b327eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocketchatctl
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ get_rocketchat_latest_version(){
if ! command_exists curl; then
apt-get install -y curl
fi
latest_rocketchat_version=$(curl $ROCKET_VERSION_INFO_URL 2>/dev/null |grep -w tag |awk -F: '{print $2}'|tr -d , |tr -d \")
latest_rocketchat_version=$(curl $ROCKET_VERSION_INFO_URL 2>/dev/null |grep -w tag |awk -F: '{print $2}'|awk -F'"' '{print $2}')
}

get_rocketchat_current_version(){
Expand Down

0 comments on commit 4b327eb

Please sign in to comment.