From dbdad391cc62fc92f54d8f9eab1f4bc68c1073cb Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sun, 2 Oct 2016 20:11:34 +0000 Subject: 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 --- doc/PROGRAMMING | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/PROGRAMMING') 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). -- cgit v1.2.3