Created
July 30, 2020 17:11
-
-
Save huezo/cd62cab40457553e2dbaea2756caa951 to your computer and use it in GitHub Desktop.
Instalador de screenfetch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment