diff --git a/scripts/setup.sh b/scripts/setup.sh index 811cd2e..ad4370d 100644 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -1,11 +1,17 @@ -#!/bin/bash +#!/bin/sh # Setup script to grab any and all dependancies needed to build this on any of my machines -bochs_=$(dpkg --list | grep bochs) -if [ "$bochs_" == "" ] -then +bochs_=`dpkg --list | grep bochs` +if [ -z "$bochs_" ]; then # install bochs shiz - sudo apt-get update sudo apt-get install bochs "bochs-x" -else - echo 'Nothing to install' +fi + +gen=`dpkg --list | grep genisoimage` +if [ -z "$gen" ]; then + sudo apt-get install genisoimage +fi + +nasm=`dpkg --list | grep nasm` +if [ -z "$nasm" ]; then + sudo apt-get install nasm fi