Code: Select all
#!/bin/bash
echo "Preparing installation of XFCE4...."
echo "Step 1/3 - Clearing the screen. Press Enter to continue"
read penis
# clear the screen
clear
# print welcome message
echo "========================================"
echo "Welcome to the XFCE4 installador script."
echo "========================================"
# print empty line
echo
# wait for Enter
echo "Press Enter now to continue!"
read myass
# clear the screen
clear
# tell user what the fuck is going on
echo "Internet connection test ..................,,,!!"
# do not use ping to check the network!1
wget -q http://xvideos.com
if [[ $? -eq 0 ]]; then
echo "Internet connection test PASSED!"
else
echo "WARNING!!!!!! Internet connection test FAILED! WARNING! ERROR!"
exit 127
fi
# tell user exactly what we do
echo "Step 2/3 - Updating..."
# update APT
sudo apt-get update
# tell user what we do
echo "Step 3/3 - Installing XFCE4 now!!!11"
# installing XFCE4
sudo apt-get install -y xfce4
# ready!
echo "XFCE4 has been installed. Congratulations! You can now use XFCE4!!!1"
exit 0