more comprehesive setup script

pulling in nasm and genisoimage packages for debian
This commit is contained in:
shockrah 2020-02-16 12:28:13 -08:00
parent 5902ef62b1
commit 332fbdcee0

View File

@ -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