Package: postgresql-common Version: 155 Severity: important Tags: patch pending
"pg_conftool remove" is broken. The command requires one argument (the setting to remove/disable), but the parser wants two arguments. This trivial patch fixes this: === modified file 'debian/changelog' --- debian/changelog 2015-02-05 21:19:24 +0000 +++ debian/changelog 2015-02-12 16:22:17 +0000 @@ -1,3 +1,9 @@ +postgresql-common (167) UNRELEASED; urgency=medium + + * pg_conftool: Fix 'remove' operation. Spotted by François Henry, merci! + + -- Christoph Berg <[email protected]> Thu, 12 Feb 2015 17:21:25 +0100 + postgresql-common (166) unstable; urgency=medium * postgresql-common: Breaks: systemd (<< 204). [email protected] uses === modified file 'pg_conftool' --- pg_conftool 2015-02-03 14:52:23 +0000 +++ pg_conftool 2015-02-12 16:22:17 +0000 @@ -84,7 +84,7 @@ if ($ARGV[0] =~ /^(edit)$/) { help(1, "$ARGV[0] takes no argument") unless (@ARGV == 1); ($cmd) = @ARGV; -} elsif ($ARGV[0] =~ /^(show|disable)$/) { +} elsif ($ARGV[0] =~ /^(show|remove)$/) { help(1, "$ARGV[0] needs exactly one argument") unless (@ARGV == 2); ($cmd, $key) = @ARGV; } else { Christoph -- [email protected] | http://www.df7cb.de/
signature.asc
Description: Digital signature
_______________________________________________ Pkg-postgresql-public mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public
