From a959826f55d1c23a31e9c39eee2c383ec6995be6 Mon Sep 17 00:00:00 2001 From: fanta Date: Sat, 19 Aug 2023 21:36:53 +0200 Subject: [PATCH] eliminado soporte para ubuntu --- 03-mednafen.sh | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/03-mednafen.sh b/03-mednafen.sh index 4f15ff4..3c90ec4 100755 --- a/03-mednafen.sh +++ b/03-mednafen.sh @@ -1,6 +1,6 @@ #!/bin/bash # Fanta -# Script para compilar mednafen en diferentes distros GNU Linux. +# Script para compilar mednafen en Debian d="/tmp/mednafen" @@ -55,18 +55,3 @@ cat /etc/issue | grep "Debian GNU/Linux 12" 1>/dev/null ; if [ "$?" -ne 1 ]; the make -j$(nproc) make install fi - -# Ubuntu 22.04.1 LTS -cat /etc/issue | grep "Ubuntu 22.04.1 LTS" 1>/dev/null ; if [ "$?" -ne 1 ]; then - apt install -y libasound2-dev libflac-dev libsdl2-dev gcc make zlib1g-dev build-essential pkg-config - lastVersion=$(wget -q "https://mednafen.github.io/releases" -O - | tr "<" "\n" | grep -i "tar.xz" | grep -v "server" | grep -iv "unstable" | head -1 | cut -d "\"" -f 2) - lastVersionNameFile=$(echo "$lastVersion" | cut -d "/" -f 4) - lastVersionUrl="https://mednafen.github.io$lastVersion" - wget -q "$lastVersionUrl" -O $d/$lastVersionNameFile - cd $d - tar xfvJ $lastVersionNameFile - cd mednafen - ./configure --enable-debugger - make -j$(nproc) - make install -fi