1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vaultwarden_ynh.git synced 2024-09-03 18:26:31 +02:00

symbolic link to fix libssl.so.3 bug

This commit is contained in:
OniriCorpe 2024-01-25 19:10:21 +01:00
parent 6abc405285
commit 0ab990f8a3

View file

@ -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"