summaryrefslogtreecommitdiff
path: root/debian/local/pam-auth-update
diff options
context:
space:
mode:
Diffstat (limited to 'debian/local/pam-auth-update')
-rwxr-xr-xdebian/local/pam-auth-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update
index 7c4db060..a1761908 100755
--- a/debian/local/pam-auth-update
+++ b/debian/local/pam-auth-update
@@ -397,6 +397,9 @@ sub write_profiles
# then do the renames, back-to-back
# we have to use system because File::Copy is in
# perl-modules, not perl-base
+ # FIXME: if there was already a .pam-old file, and we're
+ # going to unlink the old version afterwards, we've clobbered
+ # the user's old version for no reason!
if (-e "$target") {
system('cp','-f',$target,$target . '.pam-old');
}