fixed check for bochs-x eumlator
This commit is contained in:
parent
0e903f912c
commit
0ded150732
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user