diff options
author | Steve Langasek <vorlon@debian.org> | 2008-08-20 00:52:19 -0700 |
---|---|---|
committer | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 17:28:25 -0800 |
commit | 9545fc7a02b2cd0c23bb5859cf8b5a94e887a1bd (patch) | |
tree | 170e7ce1a1370af0f319104b4c3209223fbba1d2 /debian/local/pam-auth-update | |
parent | 040a5b12c01d9a2692990ad0eaef4bee42a72fca (diff) |
document a couple more fixmes; and adjust the priority of the right question
Diffstat (limited to 'debian/local/pam-auth-update')
-rwxr-xr-x | debian/local/pam-auth-update | 8 |
1 files 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)); |