зеркало из https://github.com/mozilla/fxa.git
Merge pull request #1309 from mozilla/fix/use-correct-permissions r=@shane-tomlinson,@philbooth
fix(script): use correct permissions for /etc/apt file
This commit is contained in:
Коммит
557dcdbb4c
|
@ -3,10 +3,9 @@
|
||||||
DIR=$(dirname "$0")
|
DIR=$(dirname "$0")
|
||||||
|
|
||||||
if grep -e "fxa-content-server" -e 'all' $DIR/../packages/test.list; then
|
if grep -e "fxa-content-server" -e 'all' $DIR/../packages/test.list; then
|
||||||
CLOUD_SDK_REPO="cloud-sdk-$(grep VERSION_CODENAME /etc/os-release | cut -d '=' -f 2)"
|
curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-248.0.0-linux-x86_64.tar.gz
|
||||||
echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
|
tar zxvf google-cloud-sdk-248.0.0-linux-x86_64.tar.gz google-cloud-sdk
|
||||||
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
|
./google-cloud-sdk/install.sh
|
||||||
sudo apt-get update -y && sudo apt-get install google-cloud-sdk -y
|
|
||||||
sudo apt-get install -y graphicsmagick
|
sudo apt-get install -y graphicsmagick
|
||||||
mkdir -p config
|
mkdir -p config
|
||||||
cp ../version.json ./
|
cp ../version.json ./
|
||||||
|
|
Загрузка…
Ссылка в новой задаче