File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,15 +8,14 @@ php composer-setup.php
88php -r " unlink('composer-setup.php');"
99mv composer.phar /usr/local/bin/composer
1010
11- apt-get install procps git unzip gh openssh-client
1211sudo mkdir -p -m 755 /etc/apt/keyrings
1312out=$( mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg
1413cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null
1514chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg
1615mkdir -p -m 755 /etc/apt/sources.list.d
1716echo " deb [arch=$( dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
1817apt update
19- apt install gh -y
18+ apt-get install procps git unzip gh openssh-client -y
2019
2120git config --global --add safe.directory $PWD
2221
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ set -ex
44
55export COMPOSER_PROCESS_TIMEOUT=100000
66
7- apt-get install procps git unzip gh openssh-client
87sudo mkdir -p -m 755 /etc/apt/keyrings
98out=$( mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg
109cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null
1110chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg
1211mkdir -p -m 755 /etc/apt/sources.list.d
1312echo " deb [arch=$( dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
1413apt update
15- apt install gh -y
14+
15+ apt-get install procps git unzip gh openssh-client -y
1616
1717cd /tmp
1818
You can’t perform that action at this time.
0 commit comments