Skip to content

Commit 16b8fe1

Browse files
committed
docs(download): Update Debian source list to deb822 format
1 parent 59738a4 commit 16b8fe1

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

include/download-instructions/linux-debian-cli-community.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@
77
sudo apt-get install -y lsb-release ca-certificates curl
88
sudo curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
99
sudo dpkg -i /tmp/debsuryorg-archive-keyring.deb
10-
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
10+
sudo tee /etc/apt/sources.list.d/php.sources <<EOF
11+
Types: deb
12+
URIs: https://packages.sury.org/php/
13+
Suites: $(lsb_release -sc)
14+
Components: main
15+
Signed-By: /usr/share/keyrings/debsuryorg-archive-keyring.gpg
16+
EOF
1117
sudo apt-get update
1218

1319
# Install PHP.

0 commit comments

Comments
 (0)