fix trash_rm
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kim Oliver Drechsel 2021-09-21 19:59:52 +02:00
parent 3f25c96eb4
commit ec22f86714
2 changed files with 2 additions and 3 deletions

View File

@ -55,7 +55,7 @@ steps:
depends_on:
- install
- test trash_restore
image: ubuntu:latest
image: bash:latest
pull: if-not-exists
commands:
- /bin/bash

View File

@ -19,8 +19,7 @@ trash_put() {
trash_empty() {
echo "Delete all $(find "$HOME"/.trash/ ! -name ".filepaths" | wc -l) files in trash?"
# shellcheck disable=SC2086
\rm -Ir $HOME/.trash/* && echo >"$FILE_PATHS_FILE"
\rm -Ir "$HOME"/.trash/* && echo >"$FILE_PATHS_FILE"
}
trash_restore() {