Skip to content

Commit d1ff6d1

Browse files
committed
Add more sudo
1 parent 6ea4ffd commit d1ff6d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/scripts/lib_install/linux/ubuntu-focal/install-prebuilt-packages.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ DEBIAN_FRONTEND=noninteractive ${privileged_command_prefix} apt-get install \
2424
# Add alternatives for cpp-10, gcc-10, and g++-10
2525
# NOTE: We use a low priority to avoid affecting the prioritization of any existing alternatives
2626
# on the user's system.
27-
update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-10 0 \
27+
${privileged_command_prefix} update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-10 0 \
2828
--slave /usr/share/man/man1/cc.1.gz cc.1.gz /usr/share/man/man1/gcc.1.gz
29-
update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-10 0 \
29+
${privileged_command_prefix} update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-10 0 \
3030
--slave /usr/share/man/man1/c++.1.gz c++.1.gz /usr/share/man/man1/g++.1.gz
31-
update-alternatives --install /lib/cpp cpp /usr/bin/cpp-10 0
31+
${privileged_command_prefix} update-alternatives --install /lib/cpp cpp /usr/bin/cpp-10 0

0 commit comments

Comments
 (0)