Compare commits
No commits in common. "8319d0c780141f054febe0a0b777b843633198ca" and "da3559b7063aa1d82c654c97b5533058f494b7f3" have entirely different histories.
8319d0c780
...
da3559b706
23
bootstrap.sh
23
bootstrap.sh
|
@ -149,12 +149,8 @@ archLinux()
|
||||||
packages="$packages virtualbox"
|
packages="$packages virtualbox"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Scripts should not cause a system update in order to just install a couple
|
echo "Updating system..."
|
||||||
# of packages. If pacman -S --needed is going to fail, let it fail and the
|
sudo pacman -Syu
|
||||||
# user will figure out the issues (without updating if required) and rerun
|
|
||||||
# the script.
|
|
||||||
#echo "Updating system..."
|
|
||||||
#sudo pacman -Syu
|
|
||||||
|
|
||||||
echo "Installing packages $packages..."
|
echo "Installing packages $packages..."
|
||||||
sudo pacman -S --needed $packages
|
sudo pacman -S --needed $packages
|
||||||
|
@ -518,27 +514,16 @@ fi
|
||||||
emulator="qemu"
|
emulator="qemu"
|
||||||
defpackman="apt-get"
|
defpackman="apt-get"
|
||||||
dependenciesonly=false
|
dependenciesonly=false
|
||||||
update=false
|
while getopts ":e:p:d" opt
|
||||||
while getopts ":e:p:udhs" opt
|
|
||||||
do
|
do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
e) emulator="$OPTARG";;
|
e) emulator="$OPTARG";;
|
||||||
p) defpackman="$OPTARG";;
|
p) defpackman="$OPTARG";;
|
||||||
d) dependenciesonly=true;;
|
d) dependenciesonly=true;;
|
||||||
u) update=true;;
|
|
||||||
h) usage;;
|
|
||||||
s) statusCheck && exit;;
|
|
||||||
\?) echo "I don't know what to do with that option, try -h for help"; exit;;
|
\?) echo "I don't know what to do with that option, try -h for help"; exit;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "$update" == "true" ]; then
|
|
||||||
git pull upstream master
|
|
||||||
git submodule update --recursive --init
|
|
||||||
rustup update nightly
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
banner
|
banner
|
||||||
if [ "Darwin" == "$(uname -s)" ]; then
|
if [ "Darwin" == "$(uname -s)" ]; then
|
||||||
osx "$emulator"
|
osx "$emulator"
|
||||||
|
@ -564,6 +549,8 @@ else
|
||||||
elif hash 2>/dev/null pacman; then
|
elif hash 2>/dev/null pacman; then
|
||||||
archLinux "$emulator"
|
archLinux "$emulator"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$dependenciesonly" = false ]; then
|
if [ "$dependenciesonly" = false ]; then
|
||||||
|
|
Reference in New Issue