Skip to content

Commit

Permalink
Raise up needed os release
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefal committed Jun 19, 2024
1 parent 3cee11d commit 6446b7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rtkbase_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,21 @@ check_before_update() {

case $ID in
debian)
if (( $(echo "$VERSION_ID < 10" | bc -l) ))
if (( $(echo "$VERSION_ID < 11" | bc -l) ))
then
printf "${TOO_OLD}" >/dev/stderr
exit 1
fi
;;
raspbian)
if (( $(echo "$VERSION_ID < 10" | bc -l) ))
if (( $(echo "$VERSION_ID < 11" | bc -l) ))
then
printf "${TOO_OLD}" >/dev/stderr
exit 1
fi
;;
ubuntu)
if (( $(echo "$VERSION_ID < 20.04" | bc -l) ))
if (( $(echo "$VERSION_ID < 22.04" | bc -l) ))
then
printf "${TOO_OLD}" >/dev/stderr
exit 1
Expand Down

0 comments on commit 6446b7e

Please sign in to comment.