forked from kiss-community/kiss
kiss: Create all directories in /etc. Closes #106
This commit is contained in:
parent
15c6007d2d
commit
e49305ec44
3
kiss
3
kiss
@ -940,6 +940,9 @@ pkg_install() {
|
|||||||
[ -d "$tar_dir/$pkg_name/etc" ] && (
|
[ -d "$tar_dir/$pkg_name/etc" ] && (
|
||||||
cd "$tar_dir/$pkg_name"
|
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.
|
# Handle files in /etc/ based on a 3-way checksum check.
|
||||||
find etc -type f | while read -r file; do
|
find etc -type f | while read -r file; do
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user