Last active
August 29, 2015 14:02
-
-
Save rhoconlinux/967f96d10a71e930c759 to your computer and use it in GitHub Desktop.
HipHop Installer
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 | |
clear; | |
echo "Checkeando Instalaciones Previas e Instalando dependencias..." | |
rm -R $HOME/.hiphop-install/ ; | |
rm -R /tmp/.hiphop-install/ ; | |
sudo rm /usr/share/applications/hiphop.desktop; | |
sudo rm /usr/bin/hiphop; | |
sudo rm /usr/share/icons/hiphop.svg; | |
clear; | |
echo "Checkeando Instalaciones Previas e Instalando dependencias..." | |
sudo apt-get install libudev1 nodejs -y ; | |
sudo apt-get install -f -y ; | |
sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1 /usr/lib/libudev.so.0; | |
clear; | |
echo "Dependencias e Instalaciones Previas... ✓" | |
echo "Instalación:descargando... (51mb)" | |
mkdir -p $HOME/.hiphop-install && cd $HOME/.hiphop-install && pwd | |
wget http://download.gethiphop.net/releases/0.4.6/linux64/HipHop-0.4.6.tgz -O HipHop.tgz | |
clear; | |
echo "Dependencias e Instalaciones Previas... ✓" | |
echo "Instalación: descargando... ✓" | |
echo "Instalación: descomprimiendo... " | |
tar -xvzf HipHop.tgz | |
clear; | |
echo "Dependencias e Instalaciones Previas... ✓" | |
echo "Instalación: descargando... ✓" | |
echo "Instalación: descomprimiendo... ✓" | |
echo "Instalación: recursos extra... " | |
cd HipHop && chmod +x HipHop && wget http://a.pomf.se/oqvjca.svg -O hiphop.svg && touch hip-hop.sh && echo '#!/bin/bash' >> hip-hop.sh && echo 'cd ~/.hiphop-install/HipHop/' >> hip-hop.sh && echo './HipHop' >> hip-hop.sh && wget http://pastebin.com/raw.php?i=VhTzV8Dz -O hiphop.desktop | |
clear | |
echo "Dependencias e Instalaciones Previas... ✓" | |
echo "Instalación: descargando... ✓" | |
echo "Instalación: descomprimiendo... ✓" | |
echo "Instalación: recursos extra... ✓" | |
echo "Instalación: en el sistema... " | |
sudo mv hip-hop.sh /usr/bin/hiphop ; sudo chmod +x /usr/bin/hiphop && sudo cp hiphop.svg /usr/share/icons ; sudo cp hiphop.desktop /usr/share/applications ; sudo chmod +x /usr/share/applications/hiphop.desktop | |
clear | |
echo "Dependencias e Instalaciones Previas... ✓" | |
echo "Instalación: descargando... ✓" | |
echo "Instalación: descomprimiendo... ✓" | |
echo "Instalación: recursos extra... ✓" | |
echo "Instalación: en el sistema... ✓" | |
echo ">>> Listo!" | |
echo ">>> Disfruta HipHop ejecutándolo desde el Menú de Aplicaciones. :)" | |
echo ">>> Instalador por: rhoconlinux.wordpress.com" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment