-
Notifications
You must be signed in to change notification settings - Fork 3
/
getVanaheimr.sh
47 lines (38 loc) · 991 Bytes
/
getVanaheimr.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
#------------------------------------------------------------
# Note: Windows users please use the MINGW32 shell for this!
#------------------------------------------------------------
if [ ! -d Vanaheimr ]; then
if [ "$MSYSTEM" == "MINGW32" ]; then
echo "Assuming a windows system";
echo "As administrator please run: mklink /D Vanaheimr ..";
echo "Afterwards plase re-run this script...";
exit 1;
else
echo "Assuming a unix system";
ln -s Vanaheimr ../
fi;
else
echo "Vanaheimr found...";
fi;
cd ..
if [ ! -d Illias ]; then
git clone git://github.com/Vanaheimr/Illias.git;
else
echo "Illias found..."
fi;
if [ ! -d Styx ]; then
git clone git://github.com/Vanaheimr/Styx.git;
else
echo "Styx found..."
fi;
if [ ! -d Eunomia ]; then
git clone git://github.com/Vanaheimr/Eunomia.git;
else
echo "Eunomia found..."
fi;
if [ ! -d Blueprints.NET ]; then
git clone git://github.com/Vanaheimr/Blueprints.NET.git;
else
echo "Blueprints.NET found..."
fi;