diff options
| author | EuAndreh <eu@euandre.org> | 2024-08-30 05:13:00 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2024-08-30 05:13:00 -0300 |
| commit | 7ecc05c5d21820f47627250e0111f665b75f813a (patch) | |
| tree | fb986a384b78358136c36c5aa38b417df96afda7 /src | |
| parent | src/reconfigure: Load /etc/rc.sh so we do not need a login shell (diff) | |
| download | syskeep-7ecc05c5d21820f47627250e0111f665b75f813a.tar.gz syskeep-7ecc05c5d21820f47627250e0111f665b75f813a.tar.xz | |
src/gc: Remove gc_deploy()
Diffstat (limited to 'src')
| -rwxr-xr-x | src/gc | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -3,7 +3,7 @@ set -eu usage() { cat <<-'EOF' - Usage: gc [ guix | deploy | trash | tmpdir | logs | coredump ] + Usage: gc [ guix | trash | tmpdir | logs | coredump ] EOF } @@ -20,14 +20,6 @@ gc_guix() { guix gc -d 1m } -gc_deploy() { - find /opt/deploy \ - ! -path /opt/deploy -prune \ - -type d \ - -not -name "$(timestamp)*" \ - -exec rm -rvf "{}" ';' ||: -} - gc_trash() { yes | trash-empty } @@ -47,7 +39,6 @@ gc_coredump() { gc_all() { gc_guix - gc_deploy gc_trash gc_tmpdir gc_logs |
