mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-03 21:42:13 +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
|
# 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
|
||||||
|
|
Loading…
Reference in a new issue