change trash_empty
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kim Oliver Drechsel 2021-09-21 20:42:49 +02:00
parent 0617ab7ac7
commit f3db776294

View File

@ -20,7 +20,7 @@ trash_put() {
}
trash_empty() {
\rm -rf "${TRASH_DIR/*}" && echo >"$FILE_PATHS_FILE"
\rm -rf "$TRASH_DIR/*" && echo >"$FILE_PATHS_FILE"
echo "Deleted $(find "$TRASH_DIR" ! -name ".filepaths" | tail -n +2 | wc -l) files in trash"
}