Skip to content

Commit

Permalink
Handle newer versions of Debian using the libssl3t64 package
Browse files Browse the repository at this point in the history
  • Loading branch information
pxslip committed Oct 25, 2024
1 parent 2951f04 commit 616a55d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/common-utils/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,13 @@ install_debian_packages() {
fi

# Include libssl3 if available
if [[ ! -z $(apt-cache --names-only search ^libssl3$) ]]; then
package_list="${package_list} libssl3"
if [[ ! -z $(apt-cache --names-only search ^libssl3) ]]; then
# Test if the t64 package is available, prefer that to the non-64 bit package
if [[ ! -z $(apt-cache --names-only search ^libssl3t64$) ]]; then
package_list="${package_list} libssl3t64"
elif [[ ! -z $(apt-cache --names-only search ^libssl3$) ]]; then
package_list="${package_list} libssl3"
fi
fi

# Include appropriate version of libssl1.0.x if available
Expand Down

0 comments on commit 616a55d

Please sign in to comment.