small fix
This commit is contained in:
parent
dac6f86e77
commit
7a6d16eb7a
|
@ -1,13 +1,14 @@
|
|||
#!/bin/bash
|
||||
# Fanta <fanta@56k.es>
|
||||
d="/tmp/mednafen"
|
||||
rm -rf $d ; mkdir -p $d
|
||||
|
||||
if [ "$(whoami)" != "root" ]; then
|
||||
echo "[+] Checking root user"
|
||||
echo -e "\e[31m\e[1m[NOT OK]\e[0m Run it with root please" && exit
|
||||
fi
|
||||
|
||||
rm -rf $d ; mkdir -p $d
|
||||
|
||||
# Debian GNU/Linux 11
|
||||
cat /etc/issue | grep "Debian GNU/Linux 11" 1>/dev/null ; if [ "$?" -ne 1 ]; then
|
||||
apt install -y libasound2-dev libflac-dev libsdl2-dev gcc make zlib1g-dev build-essential pkg-config
|
||||
|
|
Loading…
Reference in New Issue
Block a user