summaryrefslogtreecommitdiff
path: root/dh_link
diff options
context:
space:
mode:
authorjoey <joey>2003-06-20 01:22:45 +0000
committerjoey <joey>2003-06-20 01:22:45 +0000
commit8fbfd5ac20e05711e01d11f188f45228d09b1a23 (patch)
treebc4193b10b41b6c92ee3ae502ad27f81b13fd2d5 /dh_link
parent895f9cbcfd47a04e241dbae047354d81489ce27f (diff)
r591: * dh_python typo fix Closes: #197679
* dh_link: don't complain if tmp dir does not exist yet when doing pre-link scan.
Diffstat (limited to 'dh_link')
-rwxr-xr-xdh_link4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_link b/dh_link
index ab71c25c..6cb889cd 100755
--- a/dh_link
+++ b/dh_link
@@ -102,8 +102,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
error("parameters list a link without a destination.");
}
- # v4 only
- if (! compat(3)) {
+ # v4 only and only if there is a temp dir already
+ if (! compat(3) && -e $tmp) {
# Scan for existing links and add them to @links, so they
# are recreated policy conformant.
find(