1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-26 13:18:35 -06:00

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

View file

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