File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Supported OS
99
1010* Ubuntu 22.04 LTS
1111* Ubuntu 22.04 LTS in WSL2
12- * macOS 13 on Apple Silicon
12+ * macOS 26 on Apple Silicon
1313
1414Prerequisites
1515-----
@@ -67,7 +67,7 @@ Customizing Bash configuration
6767
6868Local Bash configuration can be customized from ` ~/.bash_login ` ,
6969` ~/.bash_aliases ` and ` ~/.bash_config ` files. If one of these exists, it is
70- included in the login shell bashrc and never overwritten by the installer.
70+ included in the login shell bashrc and never overwritten by the installer.
7171
7272```
7373echo 'export EDITOR=/usr/local/bin/atom' >> ~/.bash_config
Original file line number Diff line number Diff line change @@ -57,14 +57,21 @@ prepare () {
5757}
5858
5959depends () {
60- local name
60+ local name abort
61+
62+ abort=0
6163
6264 for name in " awk" " cat" " iptables" " nslookup" " ping" " tar" " wget" ; do
6365 if ! [ " $( command -v " $name " ) " ]; then
64- echo " Dependency missing: $name " >&1
65- exit 1
66+ echo " Dependency missing: $name " >&2
67+ abort= 1
6668 fi
6769 done
70+
71+ if [ " $abort " -eq 1 ]; then
72+ echo " Some dependencies not found, aborting." >&2
73+ exit 1
74+ fi
6875}
6976
7077install-dependencies () {
You can’t perform that action at this time.
0 commit comments