aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-01-13 14:58:12 -0200
committerEuAndreh <eu@euandre.org>2019-01-13 14:58:12 -0200
commit569abfc95209b00188a71dd4a199fb020ffe5218 (patch)
treea327ff7d5868ec90a10758af043ffe475cc86e40 /scripts
parentssh_config.conf. (diff)
downloaddotfiles-569abfc95209b00188a71dd4a199fb020ffe5218.tar.gz
dotfiles-569abfc95209b00188a71dd4a199fb020ffe5218.tar.xz
gc.sh: use sudo to rm the trash folder.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gc.sh2
1 files changed, 1 insertions, 1 deletions
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