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

trying to fix the libssl.so.3 not found bug

This commit is contained in:
OniriCorpe 2024-01-25 18:17:37 +01:00
parent 7f348a362d
commit f310c89a10

View file

@ -26,9 +26,16 @@ _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
libssl_path=$(which openssl)
if ! grep -q "$libssl_path" /etc/ld.so.conf ; then
echo "include $libssl_path" >> /etc/ld.so.conf
ldconfig
fi
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:$app "$install_dir"
chown -R "$app:$app" "$install_dir"
}
#=================================================