Bug: install_sunshine always called yay_install on $SUNSHINE_PKG (default sunshine-bin) before checking ldd. If the host already had sunshine (source build) working, the bin install would replace it, trip the ldd check, and the auto-recovery would rebuild source — a redundant 10-minute compile on every ./install.sh re-run. Fix: short-circuit at the top of install_sunshine when either sunshine or sunshine-bin is already installed AND all its shared libs resolve. The recovery dance only runs when there's actually something to fix.
3.2 KiB
3.2 KiB