Skip to content

Commit 8baadaf

Browse files
authored
Update install.sh
1 parent b5143d8 commit 8baadaf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

install.sh

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ echo "[1] Arch, [2] Debian-based, [3] Fedora"
44
read op
55

66
if [ $op == 1 ]; then
7-
echo "Need testing"
8-
# TO DO: Installing sdl2 dev libraries for arch based systems
7+
echo -e "\e[32mInstalling SDL2libraries\e[39m"
8+
sudo pacman -S sdl2
9+
echo -e "\e[32mBuilding chip8 interpreter...\e[39m"
10+
make
911
elif [ $op == 2 ]; then
10-
echo -e "\e[32mInstalling SDL Dev libraries\e[39m"
12+
echo -e "\e[32mInstalling SDL2 Dev libraries\e[39m"
1113
sudo apt install libsdl2-dev
1214
echo -e "\e[32mBuilding chip8 interpreter...\e[39m"
1315
make

0 commit comments

Comments
 (0)