1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 18:59:47 +01:00

xmonad: fix cp failure if libFiles with subdirectories

This commit is contained in:
Vonfry 2024-04-04 14:26:54 +08:00 committed by GitHub
parent 80546b220e
commit 7e91f2a0ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -124,6 +124,7 @@ in {
cfg.libFiles) cfg.libFiles)
}) })
for key in "''${!libFiles[@]}"; do for key in "''${!libFiles[@]}"; do
mkdir -p "xmonad-config/lib/$(dirname "$key")"
cp "''${libFiles[$key]}" "xmonad-config/lib/$key"; cp "''${libFiles[$key]}" "xmonad-config/lib/$key";
done done