1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-15 17:50:53 +00: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)
})
for key in "''${!libFiles[@]}"; do
mkdir -p "xmonad-config/lib/$(dirname "$key")"
cp "''${libFiles[$key]}" "xmonad-config/lib/$key";
done