Last active
June 24, 2019 23:41
-
-
Save mpalpha/f6f3613f9db3df02b26bee4c41ad342f to your computer and use it in GitHub Desktop.
fix ubuntu 18.x+ SDL issue for retropie.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fix ubuntu 18.x+ SDL issue for retropie. | |
RETROPIECFG=/opt/retropie/configs/all/retropie.cfg | |
if [ ! -f $RETROPIECFG ]; then | |
sudo sed --in-place 's/2.0.8/2.0.9/g' $HOME/Retropie-Setup/scriptmodules/supplementary/sdl2.sh | |
mkdir -R /opt/retropie/configs/all/ | |
echo "own_sdl2=\"0"\" >> /opt/retropie/configs/all/retropie.cfg | |
sudo rm /usr/share/doc/libsdl2-2.0-0/copyright | |
sudo apt remove libsdl2-dev | |
sudo apt --fix-broken install | |
sudo apt autoremove | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment