From 7ecc05c5d21820f47627250e0111f665b75f813a Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 30 Aug 2024 05:13:00 -0300 Subject: src/gc: Remove gc_deploy() --- src/gc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/gc b/src/gc index 74dab66..abfa1c8 100755 --- a/src/gc +++ b/src/gc @@ -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 -- cgit v1.2.3