change image from ubuntu to bash
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kim Oliver Drechsel 2021-09-21 20:22:16 +02:00
parent e0e70a4190
commit 6ec5aa8ded

View File

@ -18,8 +18,8 @@ trash_put() {
}
trash_empty() {
echo "Delete all $(find "$HOME"/.trash/ ! -name ".filepaths" | wc -l) files in trash?"
\rm -ir "$HOME"/.trash/* && echo >"$FILE_PATHS_FILE"
echo "Delete all $(find "$HOME"/.trash/ ! -name ".filepaths" | tail -n +2 | wc -l) files in trash?"
\rm -irf "$HOME"/.trash/* && echo >"$FILE_PATHS_FILE"
}
trash_restore() {