handbrake_for_plex.sh

-bugfix delete file on linux
This commit is contained in:
2022-08-07 07:27:52 +02:00
parent b84d11cd18
commit 76bc76a872

View File

@@ -347,8 +347,6 @@ END_COMMENT
if [ "$trash" = true ] && [[ "$OSTYPE" == "linux-gnu"* ]] && [[ $(command -v gio) != "" ]]; then if [ "$trash" = true ] && [[ "$OSTYPE" == "linux-gnu"* ]] && [[ $(command -v gio) != "" ]]; then
echo -e "\n${italic}Move ${filename} to trash...${reset}" echo -e "\n${italic}Move ${filename} to trash...${reset}"
gio trash "$FILE" >/dev/null gio trash "$FILE" >/dev/null
else
echo -e "\n${italic}Move ${filename} to trash...${reset}"
fi fi