Put protoc in /usr/bin/protoc instead

This commit is contained in:
Michael Snoyman 2019-01-09 14:58:14 +02:00
parent ffefa0526c
commit 0c57462218
No known key found for this signature in database
GPG Key ID: A048E8C057E86876

View File

@ -265,5 +265,5 @@ ldconfig
# Instructions from: https://google.github.io/proto-lens/installing-protoc.html
PROTOC_ZIP=protoc-3.3.0-linux-x86_64.zip
curl -OL https://github.com/google/protobuf/releases/download/v3.3.0/$PROTOC_ZIP
sudo unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
sudo unzip -o $PROTOC_ZIP -d /usr bin/protoc
rm -f $PROTOC_ZIP