Skip to content
Snippets Groups Projects
Commit 7fbb900a authored by Dirk Sarpe's avatar Dirk Sarpe
Browse files

fix handling of upstreams new noisy version string

microsoft seriously
parent 018d08f3
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,8 @@ suffix="<br />"
noprefix=${rawstring#$prefix}
nosuffix=${noprefix%$suffix}
dlcommand="$nosuffix -q -P /home/monitoring/"
cur_version=$(rstudio-server version)
cur_version_noisy=$(rstudio-server version)
cur_version=${cur_version_noisy% *}
avail_version=$(cut -d "-" -f 3 <<< "$dlcommand")
if [ "$avail_version" == "$cur_version" ]
then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment