handbrake_for_plex.sh
-bugfix delete file on linux
This commit is contained in:
@@ -347,8 +347,6 @@ END_COMMENT
|
||||
if [ "$trash" = true ] && [[ "$OSTYPE" == "linux-gnu"* ]] && [[ $(command -v gio) != "" ]]; then
|
||||
echo -e "\n${italic}Move ${filename} to trash...${reset}"
|
||||
gio trash "$FILE" >/dev/null
|
||||
else
|
||||
echo -e "\n${italic}Move ${filename} to trash...${reset}"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user