aria2-feeder: forzar bash
This commit is contained in:
parent
2a465e7a20
commit
1ca635ca96
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
if ! type bash > /dev/null; then
|
||||
echo "Te falta instalar aria2."
|
||||
exit 1
|
||||
fi
|
||||
if ! type aria2c > /dev/null; then
|
||||
echo "Te falta instalar aria2."
|
||||
exit 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh -e
|
||||
#!/bin/bash -e
|
||||
|
||||
params=$(echo -n "[[\"$1\"],{\"header\":[\"accept-encoding: gzip, br\"]}]" | base64 -w0)
|
||||
id=$(echo "$RANDOM * $RANDOM" | bc)
|
||||
|
|
Loading…
Reference in a new issue