From 0ab990f8a35939829158c1e8f86754baf53e9599 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 25 Jan 2024 19:10:21 +0100 Subject: [PATCH] symbolic link to fix libssl.so.3 bug --- scripts/_common.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index ee6bfce..ca1eb9e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -26,6 +26,11 @@ _download_vaultwarden_from_docker() { mv -f "$install_dir/build/"{vaultwarden,web-vault} "$install_dir/live/" ynh_secure_remove --file="$install_dir/build" + # fixes the libssl.so.3 not found bug since libssl3 is not available on bullseye + if [ ! -f /usr/lib/x86_64-linux-gnu/libssl.so.3 ]; then + ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/x86_64-linux-gnu/libssl.so.3 + fi + chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:$app "$install_dir"