fix: php source to deb 822

Added a new source list entry for PHP packages from Sury repository.
This commit is contained in:
Tobias
2025-10-15 22:38:18 +02:00
committed by GitHub
parent c931506665
commit c04ac9b63b

View File

@@ -34,6 +34,13 @@ function update_script() {
$STD curl -fsSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
$STD dpkg -i /tmp/debsuryorg-archive-keyring.deb
$STD sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
cat <<EOF >/etc/apt/sources.list.d/php.sources
Types: deb
URIs: https://packages.sury.org/php/
Suites: $(lsb_release -sc)
Components: main
Signed-By: /usr/share/keyrings/deb.sury.org-php.gpg
EOF
$STD apt update
$STD apt remove -y php"${CURRENT_PHP//./}"*
$STD apt install -y \