aria2-feeder: forzar bash

This commit is contained in:
Cat /dev/Nulo 2021-11-30 20:52:03 -03:00
parent 2a465e7a20
commit 1ca635ca96
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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)