mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Check for sudo
This commit is contained in:
@ -219,7 +219,8 @@ function fuCHECKPACKAGES {
|
|||||||
# Make sure dependencies for apt-fast are installed
|
# Make sure dependencies for apt-fast are installed
|
||||||
myCURL=$(which curl)
|
myCURL=$(which curl)
|
||||||
myWGET=$(which wget)
|
myWGET=$(which wget)
|
||||||
if [ "$myCURL" == "" ] || [ "$myWGET" == "" ]
|
mySUDO=$(which sudo)
|
||||||
|
if [ "$myCURL" == "" ] || [ "$myWGET" == "" ] || [ "$mySUDO" == "" ]
|
||||||
then
|
then
|
||||||
echo "### Installing deps for apt-fast"
|
echo "### Installing deps for apt-fast"
|
||||||
apt-get -y update
|
apt-get -y update
|
||||||
|
Reference in New Issue
Block a user