Skip to content

Commit

Permalink
Arreglado updater mutagen
Browse files Browse the repository at this point in the history
  • Loading branch information
wifislax-ng committed May 5, 2016
1 parent e055bbc commit 2e05b38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Desarrollo/mutagen_updater
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Script by www.seguridadwireless.net

SCRIPT_VERSION=20151024
SCRIPT_VERSION=20160505

############################################################
## Funciones comunes. Su nombre empieza por f_ ##
Expand All @@ -18,11 +18,11 @@ f_variables(){
F_variables() {
PRGNAM=mutagen
echo -ne "\033]2;${PRGNAM}_updater\007"
WEB=https://pypi.python.org/pypi/mutagen
VERSION=`curl -s $WEB | grep .tar.gz | head -1 | cut -d- -f2 | cut -d t -f1 | sed "s/.$//g"`
WEB=https://bitbucket.org/lazka/mutagen/downloads
VERSION=`curl -s $WEB|grep tar.gz|head -1|cut -d- -f2|cut -d t -f-1|sed 's/.$//g'`
EXTENSION=tar.gz
SOURCES=$PRGNAM-$VERSION.$EXTENSION
DOWNLOAD=https://pypi.python.org/packages/source/m/$PRGNAM/$SOURCES
DOWNLOAD=$WEB/$SOURCES
}

# Descomprimimos el fichero descargado y compilamos
Expand Down

0 comments on commit 2e05b38

Please sign in to comment.