]> git.donarmstrong.com Git - debhelper.git/commitdiff
r591: * dh_python typo fix Closes: #197679
authorjoey <joey>
Fri, 20 Jun 2003 01:22:45 +0000 (01:22 +0000)
committerjoey <joey>
Fri, 20 Jun 2003 01:22:45 +0000 (01:22 +0000)
   * dh_link: don't complain if tmp dir does not exist yet when doing pre-link
     scan.

debian/changelog
dh_link
dh_python

index b7913c61fd72ae829a6ab5899e2aaafb48e936de..22b469157caec9caead57266f0a61e72f3b55400 100644 (file)
@@ -1,3 +1,11 @@
+debhelper (4.1.48) unstable; urgency=low
+
+  * dh_python typo fix Closes: #197679
+  * dh_link: don't complain if tmp dir does not exist yet when doing pre-link
+    scan.
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 19 Jun 2003 19:51:13 -0400
+
 debhelper (4.1.47) unstable; urgency=low
 
   * dh_install: recalculate automatic $dest eash time through the glob loop.
diff --git a/dh_link b/dh_link
index ab71c25c025cb353a0d3aabdd14f790f919c2c0d..6cb889cdd79ea3b92132f2f9ee0ca79cdbc51cbb 100755 (executable)
--- 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(
index d936f31845ba8cd79735fb157315066afdd3e71e..81da6da5e6e215a35ee28e555cc1bd85c2b86653 100755 (executable)
--- a/dh_python
+++ b/dh_python
@@ -26,7 +26,7 @@ current major version, or on pythonX.Y if your scripts or modules need a
 specific python version. The dependency will be substituted into your
 package's control file wherever you place the token "${python:Depends}".
 
-If some modules need to be byte-compiled at build time, appropriate
+If some modules need to be byte-compiled at install time, appropriate
 postinst and prerm scripts will be generated.
 
 If you use this program, your package should build-depend on python.