diff options
author | Leo Pham <wsrgs@proton.me> | 2023-06-26 21:08:49 +1000 |
---|---|---|
committer | Leo Pham <wsrgs@proton.me> | 2023-06-26 21:17:08 +1000 |
commit | 1cfb5deaf7924ad7427c040e00ae06ca43efca91 (patch) | |
tree | 2ecbbc770cb8b720f9e96dd26d5195938cc6d938 | |
parent | 59f9d06e03c7cec1f097e2e1eeb574a65bce7c05 (diff) |
Allow symlinks for drop-in .conf files
-rwxr-xr-x | mkinitcpio | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -877,7 +877,7 @@ BUILDROOT="${_opttargetdir:-$_d_workdir/root}" # Source additional configuration files, if no configuration file has been defined either with "-c" or via preset file if [[ -d "$_d_config" ]] && (( _optconfd )); then - mapfile -d '' conf_files < <(find "$_d_config" -maxdepth 1 -type f -name '*.conf' -print0 | sed -z 's/.*\///' | sort -zVu) + mapfile -d '' conf_files < <(find "$_d_config" -maxdepth 1 -xtype f -name '*.conf' -print0 | sed -z 's/.*\///' | sort -zVu) if (( ${#conf_files[@]} )); then tmpfile="$(mktemp -t mkinitcpio.XXXXXX)" _tmpfiles+=("$tmpfile") |