Skip to content

Commit

Permalink
Don't reinstall rtklib if not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefal committed Aug 26, 2024
1 parent 9470997 commit 9d101b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/rtkbase_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,10 @@ upd_2.6.0() {
# update modem_check_service file (see https://github.com/Stefal/rtkbase/commit/cfad1981e483d74da04f53b8d7b354661100d610)
"${destination_directory}"/tools/install.sh --user "${standard_user}" --unit-files
# build rtklib if current release doesn't work
"${destination_directory}"/tools/install.sh --user "${standard_user}" --rtklib
if ! str2str --version > /dev/null 2>&1
then
"${destination_directory}"/tools/install.sh --user "${standard_user}" --rtklib
fi
}

#check if we can apply the update
Expand Down

0 comments on commit 9d101b6

Please sign in to comment.