Fix bug
This commit is contained in:
@@ -5,8 +5,8 @@ set -eu
|
||||
install() {
|
||||
BINARY_NAME="crib"
|
||||
VERSION="v0.0.1-alpha"
|
||||
RUBY_VERSION="3.4"
|
||||
|
||||
if [ -z "$RUBY_VERSION" ]; then
|
||||
if ldconfig -p | grep -q libruby.so.3.4; then
|
||||
HAVE_34=1
|
||||
fi
|
||||
@@ -36,7 +36,6 @@ install() {
|
||||
echo "No compatible Ruby library found need Ruby 3.2 or 3.4."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
GITHUB_URL="https://github.com/SyedM-dev/crib/releases/download/$VERSION/crib-linux-x86_64-ruby$RUBY_VERSION"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user