Skip to content

Commit

Permalink
Fix check_package to only allow stable versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Aug 27, 2023
1 parent 5fa6715 commit fbb5921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/install-requirements.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
check_package() {
sudo apt-cache policy "$1" 2>/dev/null | grep -q 'Candidate'
sudo apt-cache policy "$1" 2>/dev/null | grep 'Candidate' | grep -Evq '(alpha|beta|rc|dev)'
}
export DEBIAN_FRONTEND=noninteractive
apt-get update
Expand Down

0 comments on commit fbb5921

Please sign in to comment.