Skip to content

Commit

Permalink
Reparado codebloacks
Browse files Browse the repository at this point in the history
  • Loading branch information
wifislax-ng committed Mar 10, 2016
1 parent 8cf78b6 commit 58b21bc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Desarrollo/codeblocks_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=20160310

############################################################
## Funciones comunes. Su nombre empieza por f_ ##
Expand All @@ -16,13 +16,14 @@ f_variables(){
############################################################
# Definicion de variables
F_variables() {
PRGNAM=codeblocks
WEB=https://sourceforge.net/projects/codeblocks/files/Sources/
VERSION=$(curl -s $WEB | grep -m1 "class=\"folder" | awk '{print $2}' | cut -d "\"" -f 2)
PRGNAM=codeblocks
echo -ne "\033]2;${PRGNAM}_updater\007"
SOURCES=$(curl -s ${WEB}$VERSION/ | grep "class=\"file" | grep tar.gz | cut -d "\"" -f 2)
DOWNLOAD=${WEB}${VERSION}/$SOURCES
EXTENSION=tar.gz
SOURCES=${PRGNAM}_${VERSION}.$EXTENSION
SRCNAM=${PRGNAM}-${VERSION}.release
DOWNLOAD=${WEB}${VERSION}/$SOURCES
}

# Comprobar dependencias
Expand Down

0 comments on commit 58b21bc

Please sign in to comment.