summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-08-19 09:53:05 +0200
committerGuillem Jover <guillem@debian.org>2014-08-19 20:12:04 +0200
commit914e739cf4ecdcd7120fbb7f203a26c03cc30ba9 (patch)
treef65bd0e3177053105b8a25a33c0f4859bfdd7f39 /man
parent7fe9dcdd57c083180a7994957d1e5217d28e970a (diff)
downloaddpkg-914e739cf4ecdcd7120fbb7f203a26c03cc30ba9.tar.gz
dpkg-maintscript-helper: Fix symlink_to_dir to assure absolute pathnames
We must ensure that the original symlink and symlink targets are absolute pathnames. For the latter it is easier to make sure the filesystem symlink target matches the argument passed, as we can canonicalize the argument.
Diffstat (limited to 'man')
-rw-r--r--man/dpkg-maintscript-helper.14
1 files changed, 2 insertions, 2 deletions
diff --git a/man/dpkg-maintscript-helper.1 b/man/dpkg-maintscript-helper.1
index f8952e702..5e811810d 100644
--- a/man/dpkg-maintscript-helper.1
+++ b/man/dpkg-maintscript-helper.1
@@ -169,9 +169,9 @@ scripts:
dpkg\-maintscript\-helper symlink_to_dir \\
\fIpathname\fP \fIold-target\fP \fIprior-version\fP \fIpackage\fP \-\- "$@"
.P
-\fIpathname\fP is the name of the old symlink (the path will be a
+\fIpathname\fP is the absolute name of the old symlink (the path will be a
directory at the end of the installation) and \fIold-target\fP the
-target of the former symlink at \fIpathname\fP.
+absolute target name of the former symlink at \fIpathname\fP.
.P
Current implementation: the \fBpreinst\fP checks if the symlink exists
and points to \fIold-target\fP, if not then it's left in place, otherwise