Skip to content

Instantly share code, notes, and snippets.

@quijot
Last active October 17, 2016 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quijot/05e7fd4234be3166b5425ecfb2af8d23 to your computer and use it in GitHub Desktop.
Save quijot/05e7fd4234be3166b5425ecfb2af8d23 to your computer and use it in GitHub Desktop.
Proyecto Mapear GNU/Linux Installer Maker
#!/bin/bash
# GNU/Linux self-extracting para
# Proyecto Mapear v13.3
# http://www.proyectomapear.com.ar/
#
# Hecho por Santiago Pestarini (quijoT)
# 13 de octubre, 2016
#
# Cómo se hace
# ============
# 1. Tener instalado el comando makeself
# http://stephanepeter.com/makeself/
# 2. Tener el archivo GMAPSUPP.img en directorio pm
# 3. Tener la Licencia en archivo lic
# http://www.proyectomapear.com.ar/content/licencia-de-uso
# 4. Ejecutar el siguiente comando
# makeself --current --license lic pm install_PMv13_3.sh "proyecto mapear v13.3" echo "Listo!"
#
# Uso:
# ./pmlim.sh <license_file> <img_dir> <pm_version>
echo "Uso: ./pmlim.sh <license_file> <img_dir> <pm_version>"
echo "Ejemplo: ./pmlim.sh licencia.txt pm/ 13.4"
makeself --current --license $1 $2 install_pm.sh "proyecto mapear v$3" echo "Listo!" && chmod +x install_pm.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment