cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit e49305ec44d72743964b2329cdf85a2b829ffd49
parent 15c6007d2dd6c222ebe0364288bf6dd2403361da
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Thu,  6 Feb 2020 10:11:22 +0200

kiss: Create all directories in /etc. Closes #106

Diffstat:
Mkiss | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/kiss b/kiss @@ -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 {