-
Notifications
You must be signed in to change notification settings - Fork 18
/
check_install_iascl.sh
executable file
·87 lines (77 loc) · 3.83 KB
/
check_install_iascl.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#!/usr/bin/env bash
# Checking VTC/ALICE dependencies
ERROR=false
if { git --version; } >/dev/null 2>&1; then
echo "git found."
else
ERROR=true
echo "ERROR: git not found."
fi;
if { sox --version; } >/dev/null 2>&1; then
echo "sox found."
else
ERROR=true
echo "ERROR: sox not found."
fi;
if { conda --version; } >/dev/null 2>&1; then
echo "conda found."
else
ERROR=true
echo "ERROR: conda not found."
fi;
if { python --version; } >/dev/null 2>&1; then
echo "python found."
else
ERROR=true
echo "ERROR: python not found."
fi;
# Checking VTC conda env.
if { conda env list | grep 'pyannote'; } >/dev/null 2>&1; then
echo "pyannote conda environment found."
else
ERROR=true
echo "ERROR: pyannote conda environment not found. Please follow installation instructions for the VTC or come to the 12:00 to 01:00 debugging session"
fi;
# Checking ALICE conda env.
if { conda env list | grep 'ALICE'; } >/dev/null 2>&1; then
echo "ALICE conda environment found."
else
ERROR=true
echo "ERROR: ALICE conda environment not found. Please follow installation instructions for ALICE or come to the 12:00 to 01:00 debugging session"
fi;
# Checking ChildProject conda env.
if { conda env list | grep 'childproject'; } >/dev/null 2>&1; then
echo "childproject conda environment found."
else
ERROR=true
echo "ERROR: childproject conda environment not found. Please follow installation instructions for ChildProject or come to the 12:00 to 01:00 debugging session"
fi;
if [ $ERROR == true ]; then
echo "You have some errors to fix!"
else
echo "% ██████ ██████"
echo "% ██████████ ████████████████ ██████████"
echo "%██████████████ ██████████████"
echo "%████████ ████████"
echo "%██████ ██████"
echo "% ██ ██"
echo "% ██ ██"
echo "%██ ██████ ██████ ██"
echo "%██ ██████████ ██████████ ██"
echo "%██ ████████ ██ ██ ████████ ██"
echo "%██ ████████ ██ ██ ████████ ██"
echo "%██ ██████████ ██████████ ██"
echo "%██ ██████ ████ ██████ ██"
echo "% ██ ████ ██"
echo "% ████████ ▒▒▒▒▒▒ ▒▒▒▒▒▒ ████████"
echo "%████████████▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒████████████"
echo "%██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██████████████"
echo "%██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██████████████"
echo "%██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██████████████"
echo "% ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒████████████"
echo "% ████████ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ████████"
echo "% ▒▒▒▒▒▒▒▒▒▒▒▒"
echo "% ▒▒▒▒▒▒▒▒"
echo "% ▒▒▒▒"
echo "Congrats you're ready for the tutorial!"
fi;