1
0
Fork 0

home-manager: Handle .DS_Store in Apps folder

This commit is contained in:
Daniel Kempkens 2022-08-11 21:44:01 +02:00
parent 7eced1728b
commit a1e67817d0

View file

@ -82,6 +82,7 @@ in
lib.hm.dag.entryAfter [ "writeBoundary" ] '' lib.hm.dag.entryAfter [ "writeBoundary" ] ''
baseDir="$HOME/Applications/Home Manager Apps" baseDir="$HOME/Applications/Home Manager Apps"
if [ -d "$baseDir" ]; then if [ -d "$baseDir" ]; then
rm -f "''${baseDir}/.DS_Store"
rm -rf "$baseDir" rm -rf "$baseDir"
fi fi
mkdir -p "$baseDir" mkdir -p "$baseDir"