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 # Setup script to grab any and all dependancies needed to build this on any of my machines
bochs_=$(dpkg --list | grep bochs) bochs_=`dpkg --list | grep bochs`
if [ "$bochs_" == "" ] if [ -z "$bochs_" ]; then
then
# install bochs shiz # install bochs shiz
sudo apt-get update
sudo apt-get install bochs "bochs-x" sudo apt-get install bochs "bochs-x"
else fi
echo 'Nothing to install'
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 fi