summaryrefslogtreecommitdiff
path: root/src/gc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gc')
-rwxr-xr-xsrc/gc11
1 files changed, 1 insertions, 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