mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 04:52:11 +00:00
Check for sudo
This commit is contained in:
parent
d9f7360daf
commit
0baff7340d
1 changed files with 2 additions and 1 deletions
|
@ -219,7 +219,8 @@ function fuCHECKPACKAGES {
|
|||
# Make sure dependencies for apt-fast are installed
|
||||
myCURL=$(which curl)
|
||||
myWGET=$(which wget)
|
||||
if [ "$myCURL" == "" ] || [ "$myWGET" == "" ]
|
||||
mySUDO=$(which sudo)
|
||||
if [ "$myCURL" == "" ] || [ "$myWGET" == "" ] || [ "$mySUDO" == "" ]
|
||||
then
|
||||
echo "### Installing deps for apt-fast"
|
||||
apt-get -y update
|
||||
|
|
Loading…
Reference in a new issue