diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-06 08:11:22 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-06 08:11:22 +0000 |
commit | 11845fb713d54d53289e92ec9f8c9dd209259b03 (patch) | |
tree | b7261b99ab3e2305ede32bc3383c55d3740293d1 | |
parent | 8e2e355176efb271814cc7430ca8ffc4ccb60c32 (diff) | |
download | cpt-11845fb713d54d53289e92ec9f8c9dd209259b03.tar.gz |
kiss: Create all directories in /etc. Closes #106
FossilOrigin-Name: 055ad00c5a2e1be586a428cbeac7d45e2c43eeebdfbdeeca24cc85d9ba72d81a
-rwxr-xr-x | kiss | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -940,6 +940,9 @@ pkg_install() { [ -d "$tar_dir/$pkg_name/etc" ] && ( cd "$tar_dir/$pkg_name" + # Create all directories beforehand. + find etc -type d -exec mkdir -p {} + + # Handle files in /etc/ based on a 3-way checksum check. find etc -type f | while read -r file; do { |