Skip to content

Commit ac7cd5f

Browse files
committed
Address review: keep dependency groups, drop unused Lintian override
Keep main's three comma-separated Depends groups and only replace the obsolete mysql-client with default-mysql-client. Drop the php-script-but-no-php-cli-dep override; /usr/bin/wp is a shell launcher now and PHP 5.6 support is gone, so the override would be unused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UWTd5pwpi2xQfDA6mUYkkx
1 parent 0ebb3b8 commit ac7cd5f

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

‎utils/wp-cli-updatedeb.sh‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Architecture: all
3131
Maintainer: Alain Schlesser <alain.schlesser@gmail.com>
3232
Section: php
3333
Priority: optional
34-
Depends: php-cli | php-mysql | php-mysqlnd | default-mysql-client | virtual-mysql-client
34+
Depends: php-cli, php7.2-mysql | php7.3-mysql | php7.4-mysql | php8.0-mysql | php8.1-mysql | php8.2-mysql | php8.3-mysql | php8.4-mysql | php8.5-mysql | php-mysql, default-mysql-client | mariadb-client
3535
Homepage: https://wp-cli.org/
3636
Description: wp-cli is a set of command-line tools for managing
3737
WordPress installations. You can update plugins, set up multisite
@@ -120,15 +120,6 @@ echo "Current version: ${WPCLI_VER}"
120120
# update version
121121
sed -i -e "s/^Version: .*$/Version: ${WPCLI_VER}/" DEBIAN/control || die 6 "Version update failure"
122122

123-
# Lintian overrides (delete this stanza for WP-CLI release that bumps PHP minimum)
124-
if ! [ -r usr/share/lintian/overrides/php-wpcli ]; then
125-
mkdir -p usr/share/lintian/overrides
126-
cat > usr/share/lintian/overrides/php-wpcli <<EOF
127-
# Support PHP 5.6 while WP-CLI does so
128-
php-wpcli: php-script-but-no-php-cli-dep php (does not satisfy php-cli:any) [usr/bin/wp]
129-
EOF
130-
fi
131-
132123
# minimal man page
133124
if ! [ -r usr/share/man/man1/wp.1.gz ]; then
134125
mkdir -p usr/share/man/man1 &> /dev/null

0 commit comments

Comments
 (0)