mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-26 05:08:36 -06:00
chg: Updated the messaged
This commit is contained in:
parent
2c61b926fb
commit
7cc78461f3
1 changed files with 2 additions and 2 deletions
|
@ -8,10 +8,10 @@
|
||||||
name="$1"
|
name="$1"
|
||||||
|
|
||||||
if [ "$3" == "add" ]; then
|
if [ "$3" == "add" ]; then
|
||||||
message="The torrent '$name' has been added."
|
message="Added: $name"
|
||||||
elif [ "$3" == "fin" ]; then
|
elif [ "$3" == "fin" ]; then
|
||||||
size="$(echo $2 | numfmt --to=iec --format %.2f)B"
|
size="$(echo $2 | numfmt --to=iec --format %.2f)B"
|
||||||
message="The torrent '$name' ($size) has finished downloading."
|
message="Finished: [$size] $name"
|
||||||
else
|
else
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue