First pass on dependency checks.
parent
9db2002a9e
commit
5b4dcd9c9e
|
@ -8,6 +8,36 @@ maxsubs=52089873 #sets the default maximum bound of submission depth
|
||||||
|
|
||||||
minsubs=0 #sets the default minimum bound of submission depth
|
minsubs=0 #sets the default minimum bound of submission depth
|
||||||
minsubarg=$2
|
minsubarg=$2
|
||||||
|
|
||||||
|
#Check for dependencies
|
||||||
|
if command -v curl >/dev/null 2>&1 ; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo "curl is not available. exiting."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if command -v xdg-open >/dev/null 2>&1 ; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo "xdg-open is not available. exiting."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if command -v shuf >/dev/null 2>&1 ; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo "shuf is not available. exiting."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if command -v grep >/dev/null 2>&1 ; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo "grep is not available. exiting."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
echo "===FA.SH: The Random FA Sub Generator==="
|
echo "===FA.SH: The Random FA Sub Generator==="
|
||||||
|
|
||||||
validate=1
|
validate=1
|
||||||
|
|
Loading…
Reference in New Issue