fixed check for bochs-x eumlator
This commit is contained in:
parent
0e903f912c
commit
0ded150732
@ -1,11 +1,9 @@
|
||||
#!/bin/bash
|
||||
# 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
|
||||
# install bochs shiz
|
||||
sudo apt-get update
|
||||
sudo apt-get install bochs "bochs-x"
|
||||
[ $(id -u) -ne 0 ] && echo Must run as root && exit 0
|
||||
|
||||
dpkg -s bochs
|
||||
if [ $? -ne 0 ];then
|
||||
apt install bochs-x
|
||||
else
|
||||
echo 'Nothing to install'
|
||||
echo Nothing to install
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user