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

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

This reverts commit f310c89a10.
This commit is contained in:
OniriCorpe 2024-01-25 18:32:28 +01:00
parent f310c89a10
commit b1df2e0f4a

View file

@ -26,16 +26,9 @@ _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"
}
#=================================================