1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-24 03:59:46 +01:00
home-manager/modules
Cornelius Mika 9865e3ce29
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.

(cherry picked from commit da5b7bea78)
2017-08-21 18:46:07 +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 htop: use types.coercedTo 2017-08-02 22:33:53 +02:00
services syncthing: expand service description 2017-07-20 09:14:23 +02:00
default.nix htop: add module 2017-07-24 13:23:48 +02:00
home-environment.nix home-environment: fix error when deleting empty directories 2017-08-21 18:46:07 +02:00
manual.nix manual: add module 2017-01-15 23:42:48 +01: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