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:
parent
7f348a362d
commit
f310c89a10
1 changed files with 8 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue