1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 02:39:48 +01:00
home-manager/modules
Cornelius Mika da5b7bea78
home-environment: fix error when deleting empty directories
With --ignore-fail-on-non-empty, non-emptiness is the only failure
that gets ignored by rmdir. In the case that rmdir reaches $HOME and
considers deleting it, it will detect insufficient permissions and
subsequently exit with an error, even if $HOME is not empty.

Prevent this by calling rmdir with a relative path that excludes
$HOME.
2017-08-21 18:43:17 +02:00
..
lib Add basic directed acyclic graph data structure 2017-05-04 00:39:36 +02:00
lib-bash Credit original source for shell color code 2017-05-14 20:35:13 +02:00
misc gtk: fix bug in condition 2017-01-17 18:16:45 +01:00
programs zsh: use .zshenv for env vars 2017-08-21 18:00:58 +02:00
services syncthing: expand service description 2017-07-18 13:49:02 +02:00
default.nix oh-my-zsh: add module 2017-08-16 15:44:27 +02:00
home-environment.nix home-environment: fix error when deleting empty directories 2017-08-21 18:43:17 +02:00
manual.nix manual: fix man pages build on unstable NixOS 2017-07-21 21:10:32 +02:00
systemd.nix systemd: add support for socket units 2017-06-29 01:06:08 +02:00
xresources.nix Improve a few description fields 2017-01-15 23:42:48 +01:00
xsession.nix xsession: rename graphical session target name 2017-06-29 00:24:29 +02:00