10 lines
156 B
Bash
10 lines
156 B
Bash
#!/bin/bash
|
|
[ $(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
|
|
fi
|