Skip to content

Commit 6125571

Browse files
committed
quick start: remove unneeded deps
1 parent 1f88f99 commit 6125571

File tree

1 file changed

+2
-39
lines changed

1 file changed

+2
-39
lines changed

resources/scripts/quick_start.sh

+2-39
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,6 @@ print_message "" "" ""
5252
print_message "" " Let's find out if your system has what it takes to run Warnet..." ""
5353
print_message "" "" ""
5454

55-
minikube_path=$(command -v minikube || true)
56-
if [ -n "$minikube_path" ]; then
57-
print_partial_message " ⭐️ Found " "minikube" ": $minikube_path " "$BOLD"
58-
else
59-
print_partial_message " 💥 Could not find " "minikube" ". Please follow this link to install it..." "$BOLD"
60-
print_message "" " https://minikube.sigs.k8s.io/docs/start/" "$BOLD"
61-
exit 127
62-
fi
63-
6455
kubectl_path=$(command -v kubectl || true)
6556
if [ -n "$kubectl_path" ]; then
6657
print_partial_message " ⭐️ Found " "kubectl" ": $kubectl_path " "$BOLD"
@@ -79,15 +70,6 @@ else
7970
exit 127
8071
fi
8172

82-
current_user=$(whoami)
83-
if id -nG "$current_user" | grep -qw "docker"; then
84-
print_partial_message " ⭐️ Found " "$current_user" " in the docker group" "$BOLD"
85-
else
86-
print_partial_message " 💥 Could not find " "$current_user" " in the docker group. Please add it like this..." "$BOLD"
87-
print_message "" " sudo usermod -aG docker $current_user && newgrp docker" "$BOLD"
88-
exit 1
89-
fi
90-
9173
helm_path=$(command -v helm || true)
9274
if [ -n "$helm_path" ]; then
9375
print_partial_message " ⭐️ Found " "helm" ": $helm_path" "$BOLD"
@@ -97,14 +79,6 @@ else
9779
exit 127
9880
fi
9981

100-
just_path=$(command -v just || true)
101-
if [ -n "$just_path" ]; then
102-
print_partial_message " ⭐️ Found " "just" ": $just_path " "$BOLD"
103-
else
104-
print_partial_message " 💥 Could not find " "just" ". Please follow this link to install it..." "$BOLD"
105-
print_message "" " https://github.com/casey/just?tab=readme-ov-file#pre-built-binaries" "$BOLD"
106-
fi
107-
10882
python_path=$(command -v python3 || true)
10983
if [ -n "$python_path" ]; then
11084
print_partial_message " ⭐️ Found " "python3" ": $python_path " "$BOLD"
@@ -121,16 +95,5 @@ else
12195
exit 127
12296
fi
12397

124-
bpf_status=$(grep CONFIG_BPF /boot/config-"$(uname -r)" || true)
125-
if [ -n "$bpf_status" ]; then
126-
config_bpf=$(echo "$bpf_status" | grep CONFIG_BPF=y)
127-
if [ "$config_bpf" = "CONFIG_BPF=y" ]; then
128-
print_partial_message " ⭐️ Found " "BPF" ": Berkeley Packet Filters appear enabled" "$BOLD"
129-
else
130-
print_partial_message " 💥 Could not find " "BPF" ". Please figure out how to enable Berkeley Packet Filters in your kernel." "$BOLD"
131-
exit 1
132-
fi
133-
else
134-
print_partial_message " 💥 Could not find " "BPF" ". Please figure out how to enable Berkeley Packet Filters in your kernel." "$BOLD"
135-
exit 1
136-
fi
98+
echo " ✅ Everything needed found"
99+

0 commit comments

Comments
 (0)