diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-06 23:49:15 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-07 00:00:48 +1200 |
commit | 6f9bef76fccf97a40a9f7a01e09d59b417e221ca (patch) | |
tree | 4dee63115fcdc04794cdc4d6f2d9f8a9de35815f /Makefile | |
parent | Revert "Move .xsession into bindir where it sho... (diff) | |
download | dotfiles-6f9bef76fccf97a40a9f7a01e09d59b417e221ca.tar.gz dotfiles-6f9bef76fccf97a40a9f7a01e09d59b417e221ca.zip |
Rotate ~/.xsession-errors logs without symlink
A closer look at the startup configuration files for X11 on Debian show
that it won't actually use ERRFILE=~/.xsession-errors if the file
already exists and is a symbolic link, so we'll just rotate the logs
directly from the expected path instead, without symbolic links.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -664,11 +664,6 @@ install-x: x/xsession check-xsession install-logrotate cp -p -- x/Xresources $(HOME)/.Xresources cp -p -- x/Xresources.d/* $(HOME)/.Xresources.d cp -p -- x/logrotate/config.d/* $(XDG_CONFIG_HOME)/logrotate/config.d - touch -- $(XDG_CONFIG_HOME)/log/xsession/errors.log - chmod -- 0600 $(XDG_CONFIG_HOME)/log/xsession/errors.log - if [ -e $(HOME)/.xsession-errors ] && ! [ -h $(HOME)/.xsession-errors ] ; then \ - mv -- $(HOME)/.xsession-errors $(XDG_CONFIG_HOME)/log/xsession/errors.log ; \ - fi install-yt-dlp install-youtube-dl: mkdir -p -- $(XDG_CONFIG_HOME)/yt-dlp |