jankos/scripts/setup.sh
2020-04-22 20:49:40 -07:00

18 lines
311 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
fi
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