diff --git a/yay-steam.sh b/yay-steam.sh index b2e7a19fd22b..4f7ba041ec1d 100644 --- a/yay-steam.sh +++ b/yay-steam.sh @@ -6,3 +6,8 @@ sudo pacman --noconfirm -S git base-devel cd yay-bin git pull makepkg --noconfirm -si + +# https://github.com/Jguer/yay/issues/2508#issuecomment-3657461690 +linked_so='/lib/'`ldd "$(which yay)" | grep -o 'libalpm.\S* ' | head -1` +existing_so='/lib/libalpm.so' +[ ! -e "$linked_so" ] && [ -f "$existing_so" ] && sudo ln -s "$existing_so" "$linked_so"