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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user