fix: Initial location for movie management

This commit is contained in:
Sayantan Santra 2023-12-14 13:12:58 +05:30
parent 50af9d5762
commit 810ed3cb84
Signed by: SinTan1729
GPG Key ID: EB3E68BFBA25C85F
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ elif [ "$3" == "fin" ]; then
message="Finished: [$size] $name"
if [ "$4" == "movie" ]; then
cd /downloads/.config/
item=${5/\/downloads\//\.\.\/}
if [ -f "$item" ]; then
cp -l "$item" ../Temp/