check for strings presence
This commit is contained in:
parent
e8a2ded68f
commit
9accc28c2c
|
@ -352,5 +352,14 @@ else
|
||||||
fi
|
fi
|
||||||
sleep 0.025
|
sleep 0.025
|
||||||
##############################
|
##############################
|
||||||
|
echo -ne "strings.........."
|
||||||
|
if ! hash strings 2>/tmp/null; then
|
||||||
|
echo -e "\e[1;31mInstalling ..."$transparent""
|
||||||
|
xterm $HOLD -title "Installing Zenity" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install binutils
|
||||||
|
else
|
||||||
|
echo -e "\e[1;32mOK!"$transparent""
|
||||||
|
fi
|
||||||
|
sleep 0.025
|
||||||
|
|
||||||
|
|
||||||
xterm $HOLD -title "Remove repositories" -e python remove.py
|
xterm $HOLD -title "Remove repositories" -e python remove.py
|
||||||
|
|
10
fluxion
10
fluxion
|
@ -512,6 +512,16 @@ function checkdependences {
|
||||||
fi
|
fi
|
||||||
sleep 0.025
|
sleep 0.025
|
||||||
|
|
||||||
|
echo -ne "strings.........."
|
||||||
|
if ! hash strings 2>/dev/null; then
|
||||||
|
echo -e "\e[1;31mNot installed"$transparent" (binutils)"
|
||||||
|
exit=1
|
||||||
|
else
|
||||||
|
echo -e "\e[1;32mOK!"$transparent""
|
||||||
|
fi
|
||||||
|
sleep 0.025
|
||||||
|
|
||||||
|
|
||||||
if [ "$exit" = "1" ]; then
|
if [ "$exit" = "1" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue