1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-27 05:20:31 +01:00

Improved cleanup handling.

This commit is contained in:
2018-11-09 12:47:25 +01:00
parent 8b72368a38
commit 4f07f5b776
3 changed files with 3 additions and 1 deletions

View File

@@ -5,3 +5,5 @@ Description=Clean up locally built pikaur packages
Type=oneshot
ExecStart=/usr/bin/paccache -c %h/.cache/pikaur/pkg -r --nocolor -v
ExecStart=/usr/bin/paccache -c %h/.cache/pikaur/pkg -r --nocolor -v -u -k0
ExecStart=/usr/bin/paccache -c %h/.cache/pacman/pkgs -r --nocolor -v
ExecStart=/usr/bin/paccache -c %h/.cache/pacman/pkgs -r --nocolor -v -u -k0

View File

@@ -4,6 +4,7 @@ Description=Cleanup of temporary files
[Service]
Type=oneshot
ExecStart=/usr/bin/systemd-tmpfiles --root=%h --clean %h/.config/tmpfiles/tmpfiles.conf
ExecStart=/usr/bin/find %h/.cache/pacman/sources -type f -maxdepth 1 -delete
[Install]
WantedBy=default.target