os-70-350

os-70-350 Commit Details


Date:2013-12-03 21:37:10 (11 years 9 months ago)
Author:Natalie Adams
Branch:master
Commit:4c48905601371a0463e522cd701c1ce2c1846274
Parents: 50439b7f49a827960eb3f399ef57450296898ebe
Message:updating shell script

Changes:

File differences

ext/download_tools.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
packages="install qemu qemu-system nasm"
distro=`lsb_release -a 2> /dev/null | head -1 | cut -f 2 -d':' | tr -d "\t"`
if [ "$disto" == "Debian" -o "$disto" == "Ubuntu" ]
then
apt-get $packages
else
yum install $packages
fi

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.08794s using 14 queries.