summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2016-10-02 20:11:34 +0000
committerNiels Thykier <niels@thykier.net>2016-10-02 20:11:37 +0000
commitdbdad391cc62fc92f54d8f9eab1f4bc68c1073cb (patch)
tree3a9a8a913bbef2549e0b40b089cbb43179ab90a6 /doc
parent56e7dc4f2a6b47007364ec7f4e3dee1eba2f21c8 (diff)
downloaddebhelper-dbdad391cc62fc92f54d8f9eab1f4bc68c1073cb.tar.gz
Refactor install_dir usage to avoid the "if -d " tests
They were not needed in the first place (as "install -d" DTRT). Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/PROGRAMMING1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING
index f530b947..4d1e315b 100644
--- a/doc/PROGRAMMING
+++ b/doc/PROGRAMMING
@@ -311,6 +311,7 @@ install_dh_config_file($src, $dest[, $mode])
install_dir($dir)
Create the directory denoted by the path $dir and all parent
entries as well (as needed).
+ If the directory already exists, the function does not.
install_file($src, $dest)
Installs $src into $dest with mode 0644. The parent dir of
$dest must exist (can be created with install_dir).