We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0afdfff commit dfc89dcCopy full SHA for dfc89dc
install_apt_packages.sh
@@ -42,5 +42,8 @@ sudo apt-get install -y \
42
sphinx-common
43
44
# Required for code formatting
45
-sudo apt-get install -y \
46
- clang-format-18
+if apt-cache search --names-only 'clang-format-18' | grep -q 'clang-format-18'; then
+ sudo apt-get install -y clang-format-18
47
+else
48
+ echo "clang-format-18 not found in apt-cache. Skipping installation."
49
+fi
0 commit comments