summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2023-07-29 04:35:56 +0000
committerNiels Thykier <niels@thykier.net>2023-07-29 04:36:18 +0000
commit2fb8725d54846e58d8830e362df02dca504fc73b (patch)
treef0386beb29b62e6e242b850eacae7ed43713c249
parentc82f57adf1a282b9b3c666a7a03d55c2b20757d3 (diff)
AddonAPI.pm: Correct method name in error message
Thanks: wferi@Github Signed-off-by: Niels Thykier <niels@thykier.net>
-rw-r--r--lib/Debian/Debhelper/DH/AddonAPI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Debian/Debhelper/DH/AddonAPI.pm b/lib/Debian/Debhelper/DH/AddonAPI.pm
index 44082a9b..f8328e39 100644
--- a/lib/Debian/Debhelper/DH/AddonAPI.pm
+++ b/lib/Debian/Debhelper/DH/AddonAPI.pm
@@ -167,7 +167,7 @@ sub add_command {
}
sub add_command_at_end {
my ($command, $sequence) = @_;
- _assert_not_conditional_sequence_addon('add_command');
+ _assert_not_conditional_sequence_addon('add_command_at_end');
_register_cmd_added_by_addon($command);
if (not exists($Debian::Debhelper::DH::SequenceState::sequences{$sequence})) {
_add_sequence($sequence, SEQUENCE_NO_SUBSEQUENCES, _seq_cmd($command));