Skip to content

Commit

Permalink
Fix install protoc
Browse files Browse the repository at this point in the history
  • Loading branch information
slhmy committed Oct 7, 2023
1 parent 5892cec commit 6d11b78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/install-protoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ if ! [ -x "$(command -v protoc)" ]; then
echo "Installing protoc"
# Check has sudo
if ! [ -x "$(command -v sudo)" ]; then
apt-get update
apt-get install -y protobuf-compiler
else
sudo apt-get update
sudo apt-get install -y protobuf-compiler
fi
else
Expand Down

0 comments on commit 6d11b78

Please sign in to comment.