Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add error message for libssl1.1 on Ubuntu 22.04 #4742

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion scripts/linux-prereqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,13 @@ elif type apt-get > /dev/null 2>&1; then
fi

# Install libssl1.1
aptSudoIf "install -yq libssl1.1"
# in case for Ubuntu 22.04 this will fail, therefore we check and print an alternative installation method
# the user can decide on
if ! aptSudoIf "install -yq libssl1.1"; then
echo "(!) libssl1.1 couldn't be installed, probably you're running on Ubuntu 22.04 or later"
echo " please consider installing libssl1.1 from https://packages.ubuntu.com/focal/libssl1.1"
exitScript 1
fi

checkKeyringDeps aptSudoIf "install -yq gnome-keyring libsecret-1-0"
checkBrowserDeps aptSudoIf "install -yq desktop-file-utils x11-utils"
Expand Down