Skip to content

Commit

Permalink
Mejorado updater gambas3
Browse files Browse the repository at this point in the history
  • Loading branch information
wifislax-ng committed Sep 3, 2016
1 parent 6d3a0b3 commit 927e0bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Desarrollo/gambas_updater
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Script by www.seguridadwireless.net

SCRIPT_VERSION=20160211
SCRIPT_VERSION=20160902

############################################################
## Funciones comunes. Su nombre empieza por f_ ##
Expand All @@ -17,10 +17,10 @@ f_variables(){
# Definicion de variables
F_variables() {
PRGNAM=gambas
RAMA=3
echo -ne "\033]2;${PRGNAM}_updater\007"
WEB=https://sourceforge.net/projects/gambas/files/
VERSION=`curl -s $WEB | grep latest/ | head -1 | cut -d "/" -f 8 | cut -d- -f 2 | cut -d "t" -f-1 | sed "s/.$//g" | sed "s/ //g"`
RAMA=`echo $VERSION | cut -d "." -f1`
WEB=https://sourceforge.net/projects/gambas/files/gambas$RAMA/
VERSION=`curl -s $WEB|grep .bz2|grep title|grep -v latest|head -1|cut -d- -f2|cut -d t -f-1|sed 's/.$//g'|sed 's/ //g'`
EXTENSION=tar.bz2
SRCNAM=gambas${RAMA}-$VERSION
SOURCES=$SRCNAM.$EXTENSION
Expand Down

0 comments on commit 927e0bc

Please sign in to comment.