From 569abfc95209b00188a71dd4a199fb020ffe5218 Mon Sep 17 00:00:00 2001 From: EuAndreh <eu@euandre.org> Date: Sun, 13 Jan 2019 14:58:12 -0200 Subject: gc.sh: use sudo to rm the trash folder. --- scripts/gc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gc.sh b/scripts/gc.sh index c4d3ec3..e3ada13 100755 --- a/scripts/gc.sh +++ b/scripts/gc.sh @@ -28,7 +28,7 @@ guix gc yellow "Cleaning up up the Trash and /tmp folders" -rm -rf ~/.local/share/Trash/files/* +sudo rm -rf ~/.local/share/Trash/files/* # https://askubuntu.com/a/609396 sudo find /tmp -type f -atime +10 -delete -- cgit v1.2.3