#!/bin/bash
#!/bin/sh

if [ "$(whoami)" == "root" ] ; then
    # you are root
    
#sudo cd  /usr/bin/

#sudo wget -O screenfetch-dev https://git.io/vaHfR

sudo curl -L https://git.io/vaHfR > /usr/bin/screenfetch-dev

sudo chmod +x /usr/bin/screenfetch-dev


screenfetch-dev

#sudo su

# cd  /usr/bin/

#sudo wget -O screenfetch https://git.io/vaHfR

sudo curl -L https://git.io/vaHfR > /usr/bin/screenfetch-dev

sudo curl -L https://git.io/vaHfR > /usr/bin/screenfetch

sudo chmod +x /usr/bin/screenfetch

screenfetch
    
    
else
    # you are not root
   
echo "No eres root"
echo ""
echo "you are not root"  
echo "sigue las siguientes instrucciones:"
echo "sudo su"
echo "# bash install-screenfetch.bash"
echo "o"
echo "sudo bash install-screenfetch.bash"
    
fi


