Skip to content

Commit af7c044

Browse files
committed
[package] remove deprecated names-only option
1 parent ab3b2a9 commit af7c044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install_apt_packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ sudo apt-get install -y \
4242
sphinx-common
4343

4444
# Required for code formatting
45-
if apt-cache search --names-only 'clang-format-18' | grep -q 'clang-format-18'; then
45+
if apt-cache search '^clang-format-18$' | grep -q 'clang-format-18'; then
4646
sudo apt-get install -y clang-format-18
4747
else
4848
echo "clang-format-18 not found in apt-cache. Skipping installation."

0 commit comments

Comments
 (0)