From 9545fc7a02b2cd0c23bb5859cf8b5a94e887a1bd Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Wed, 20 Aug 2008 00:52:19 -0700 Subject: document a couple more fixmes; and adjust the priority of the right question --- debian/local/pam-auth-update | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index bac94349..3d23d552 100755 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -63,6 +63,8 @@ while ($#ARGV >= 0) { } elsif ($opt eq '--package') { $priority = 'medium'; } + # FIXME: we need an option that will permit us to remove configs in + # prerm remove, to avoid having a broken config at any point. } x_loadtemplatefile('/var/lib/dpkg/info/libpam-runtime.templates','libpam-runtime'); @@ -108,7 +110,9 @@ EOF do { @conflicts = (); - input('high',$template); + # FIXME: we probably need this priority to be 'high' in the + # case that we've managed to get an empty set of packages + input($priority,$template); go(); @enabled = split(/, /, get($template)); @@ -130,7 +134,7 @@ do { } if (@conflicts) { subst($errtemplate, 'conflicts', join("\n", @conflicts)); - input($priority,$errtemplate); + input('high',$errtemplate); } fset($template,'seen','false'); set($template, join(', ', @enabled)); -- cgit v1.2.3