Fix bugs
This commit is contained in:
parent
c9ada6cdab
commit
4e0b661b90
28
Installer.sh
28
Installer.sh
|
@ -3,7 +3,7 @@
|
||||||
INSTALLER_DEBUG=1
|
INSTALLER_DEBUG=1
|
||||||
#Config
|
#Config
|
||||||
version=2
|
version=2
|
||||||
revision=3
|
revision=4
|
||||||
#Colors
|
#Colors
|
||||||
red='\e[1;31m'
|
red='\e[1;31m'
|
||||||
blue='\e[1;34m'
|
blue='\e[1;34m'
|
||||||
|
@ -132,13 +132,13 @@ conditional_clear
|
||||||
mostrarheader
|
mostrarheader
|
||||||
|
|
||||||
echo "Updating system..."
|
echo "Updating system..."
|
||||||
sudo apt-get update> /dev/null 2>&1
|
sudo apt-get update
|
||||||
sudo apt-get install xterm > /dev/null 2>&1
|
sudo apt-get install xterm --yes
|
||||||
xterm $HOLD -title "Updating System" -e apt-get update
|
clear
|
||||||
xterm $HOLD -title "Updating System" -e apt-get install
|
mostrarheader
|
||||||
xterm $HOLD -title "Updating System" -e apt-get install software-properties-common
|
xterm $HOLD -title "Updating System" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get install software-properties-common --yes
|
||||||
xterm $HOLD -title "Updating System" -e python remove.py
|
xterm $HOLD -title "Updating System" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e python remove.py
|
||||||
xterm $HOLD -title "Updating System" -e python add.py
|
xterm $HOLD -title "Updating System" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e python add.py
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
|
|
||||||
|
@ -262,7 +262,7 @@ echo -ne "Nmap............"
|
||||||
echo -ne "Openssl........."
|
echo -ne "Openssl........."
|
||||||
if ! hash openssl 2>/tmp/null; then
|
if ! hash openssl 2>/tmp/null; then
|
||||||
echo -e "\e[1;31mInstalling ..."$transparent""
|
echo -e "\e[1;31mInstalling ..."$transparent""
|
||||||
xterm $HOLD -title "Installing Openssl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e openssl
|
xterm $HOLD -title "Installing Openssl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install openssl
|
||||||
else
|
else
|
||||||
echo -e "\e[1;32mOK!"$transparent""
|
echo -e "\e[1;32mOK!"$transparent""
|
||||||
fi
|
fi
|
||||||
|
@ -291,7 +291,7 @@ echo -ne "Php5-cgi........"
|
||||||
echo -ne "Python.........."
|
echo -ne "Python.........."
|
||||||
if ! hash python 2>/dev/null; then
|
if ! hash python 2>/dev/null; then
|
||||||
echo -e "\e[1;31mInstalling ..."$transparent""
|
echo -e "\e[1;31mInstalling ..."$transparent""
|
||||||
xterm $HOLD -title "Installing Python" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get install python
|
xterm $HOLD -title "Installing Python" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install python
|
||||||
else
|
else
|
||||||
echo -e "\e[1;32mOK!"$transparent
|
echo -e "\e[1;32mOK!"$transparent
|
||||||
fi
|
fi
|
||||||
|
@ -301,7 +301,7 @@ echo -ne "Python.........."
|
||||||
echo -ne "Reaver.........."
|
echo -ne "Reaver.........."
|
||||||
if ! hash reaver 2>/dev/null; then
|
if ! hash reaver 2>/dev/null; then
|
||||||
echo -e "\e[1;31mInstalling ..."$transparent""
|
echo -e "\e[1;31mInstalling ..."$transparent""
|
||||||
xterm $HOLD -title "Installing Reaver" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get install reaver
|
xterm $HOLD -title "Installing Reaver" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install reaver
|
||||||
else
|
else
|
||||||
echo -e "\e[1;32mOK!"$transparent""
|
echo -e "\e[1;32mOK!"$transparent""
|
||||||
fi
|
fi
|
||||||
|
@ -311,7 +311,7 @@ echo -ne "Python.........."
|
||||||
echo -ne "rfkill.........."
|
echo -ne "rfkill.........."
|
||||||
if ! hash rfkill 2>/dev/null; then
|
if ! hash rfkill 2>/dev/null; then
|
||||||
echo -e "\e[1;31mInstalling ..."$transparent""
|
echo -e "\e[1;31mInstalling ..."$transparent""
|
||||||
xterm $HOLD -title "Installing Rfkill" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get install rfkill
|
xterm $HOLD -title "Installing Rfkill" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install rfkill
|
||||||
else
|
else
|
||||||
echo -e "\e[1;32mOK!"$transparent""
|
echo -e "\e[1;32mOK!"$transparent""
|
||||||
fi
|
fi
|
||||||
|
@ -322,7 +322,7 @@ echo -ne "Python.........."
|
||||||
echo -ne "Unzip..........."
|
echo -ne "Unzip..........."
|
||||||
if ! hash unzip 2>/dev/null; then
|
if ! hash unzip 2>/dev/null; then
|
||||||
echo -e "\e[1;31mInstalling ..."$transparent""
|
echo -e "\e[1;31mInstalling ..."$transparent""
|
||||||
xterm $HOLD -title "Installing unzip" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get install unzip
|
xterm $HOLD -title "Installing unzip" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install unzip
|
||||||
else
|
else
|
||||||
echo -e "\e[1;32mOK!"$transparent
|
echo -e "\e[1;32mOK!"$transparent
|
||||||
fi
|
fi
|
||||||
|
@ -341,7 +341,7 @@ echo -ne "Xterm..........."
|
||||||
echo -ne "Zenity.........."
|
echo -ne "Zenity.........."
|
||||||
if ! hash zenity 2>/tmp/null; then
|
if ! hash zenity 2>/tmp/null; then
|
||||||
echo -e "\e[1;31mInstalling ..."$transparent""
|
echo -e "\e[1;31mInstalling ..."$transparent""
|
||||||
xterm $HOLD -title "Installing Zenity" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get install zenity
|
xterm $HOLD -title "Installing Zenity" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install zenity
|
||||||
else
|
else
|
||||||
echo -e "\e[1;32mOK!"$transparent""
|
echo -e "\e[1;32mOK!"$transparent""
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue