fixed check for bochs-x eumlator

This commit is contained in:
shockrah 2020-04-22 20:47:00 -07:00
parent 0e903f912c
commit 0ded150732

View File

@ -1,11 +1,9 @@
#!/bin/bash #!/bin/bash
# Setup script to grab any and all dependancies needed to build this on any of my machines [ $(id -u) -ne 0 ] && echo Must run as root && exit 0
bochs_=$(dpkg --list | grep bochs)
if [ "$bochs_" == "" ] dpkg -s bochs
then if [ $? -ne 0 ];then
# install bochs shiz apt install bochs-x
sudo apt-get update
sudo apt-get install bochs "bochs-x"
else else
echo 'Nothing to install' echo Nothing to install
fi fi