Skip to content

Commit

Permalink
unified install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalLumberjack committed Feb 15, 2015
1 parent 2a1ba87 commit 856e6c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
35 changes: 0 additions & 35 deletions utils/install-rpi2.sh

This file was deleted.

4 changes: 2 additions & 2 deletions utils/install-rpi1.sh → utils/install.sh
Expand Up @@ -22,10 +22,10 @@ else
{ echo "ERROR : Unable to install kernel headers" && exit 1 ;}
rm linux-headers-`uname -r`_`uname -r`-2_armhf.deb
echo "Downloading mk_arcade_joystick_rpi 0.1.4"
wget https://github.com/digitalLumberjack/mk_arcade_joystick_rpi/releases/download/v0.1.4/mk-arcade-joystick-rpi-0.1.4-rpi1.deb ||
wget https://github.com/digitalLumberjack/mk_arcade_joystick_rpi/releases/download/v0.1.4/mk-arcade-joystick-rpi-0.1.4.deb ||
{ echo "ERROR : Unable to find mk_arcade_joystick_package" && exit 1 ;}
echo "Installing mk_arcade_joystick_rpi 0.1.4"
sudo dpkg -i mk-arcade-joystick-rpi-0.1.4-rpi1.deb ||
sudo dpkg -i mk-arcade-joystick-rpi-0.1.4.deb ||
{ echo "ERROR : Unable to install mk_arcade_joystick_rpi" && exit 1 ;}
echo "Installation OK"
echo "Load the module with 'sudo modprobe mk_arcade_joystick_rpi map=1' for 1 joystick"
Expand Down

0 comments on commit 856e6c6

Please sign in to comment.