Changeset - 3cb64e660bd5
[Not reviewed]
default
0 4 0
Dennis Fink (metalgamer) - 4 years ago 2015-12-19 01:15:01
dennis.fink@c3l.lu
Fix git feature and bump version
4 files changed with 11 insertions and 12 deletions:
0 comments (0 inline, 0 general)
README.rst
Show inline comments
...
 
@@ -7,9 +7,9 @@ Yet another AUR helper
 
----------------------
 

	
 
:Author:         Dennis Fink <the_metalgamer@hackerspace.lu>
 
:Date:           2015-12-14
 
:Date:           2015-12-19
 
:Copyright:      GPLv3+
 
:Version:        Yaah 1.1.0
 
:Version:        Yaah 1.1.1
 
:Manual section: 8
 
:Manual group:   Yaah Manual
 

	
man/man8/yaah.8.gz
Show inline comments
 
binary diff not shown
yaah
Show inline comments
...
 
@@ -14,9 +14,9 @@
 
#:               -q, --quiet                             Be less verbose. Takes precedence over -v and --verbose
 
#:               --version                               Prints version and exits
 
#: Requirements: jshon <http://kmkeen.com/jshon/>, pacman, tar, curl
 
#:      Version: 1.1.0
 
#:      Version: 1.1.1
 
#:      Created: 2013-02-26
 
#:     Revision: 2015-12-14
 
#:     Revision: 2015-12-19
 
#:       Author: Dennis Fink <dennis.fink@c3l.lu>
 

	
 
## Security
...
 
@@ -39,8 +39,8 @@ shopt -s expand_aliases
 
SCRIPTNAME=${0##*/}
 
DESCRIPTION="Yet another AUR helper"
 
DATE_OF_CREATION=2013-02-26
 
DATE_OF_REVISION=2015-12-14
 
VERSION=1.1.0
 
DATE_OF_REVISION=2015-12-19
 
VERSION=1.1.1
 
AUTHOR="Dennis Fink <dennis.fink@c3l.lu>"
 

	
 
readonly SCRIPTNAME DESCRIPTION DATE_OF_CREATION DATE_OF_REVISION VERSION AUTHOR
...
 
@@ -384,8 +384,7 @@ download () {
 
    fi
 

	
 
    until [[ -z "$1" ]]; do
 

	
 
        if [[ -z $git_flag ]]; then
 
        if [[ "$git_flag" -eq 0 ]]; then
 
            local filename="${1}.tar.gz"
 
            msg "Downloading '$filename' to '$downloaddir'"
 
            curl -o "$downloaddir/$filename" "${AURURL}cgit/aur.git/snapshot/$filename"
...
 
@@ -393,7 +392,7 @@ download () {
 
            local gitrepo="${1}.git"
 
            if [[ -d "$downloaddir/$1" ]]; then
 
                msg "Pulling '$1'"
 
                git pull "$downloaddir/$1"
 
                git -C "$downloaddir/$1" pull
 
            else
 
                msg "Cloning '$1' into '$downloaddir'"
 
                git clone --quiet "${AURURL}/$gitrepo" "$downloaddir/$1"
...
 
@@ -401,7 +400,7 @@ download () {
 
        fi
 

	
 
        if [[ $? -eq 0 ]]; then
 
            if [[ $git_flag -ne 1 ]]; then
 
            if [[ "$git_flag" -eq 0 ]]; then
 
                msg_verbose2 "Setting trap to remove downloaded file"
 
                trap "rm -f '$downloaddir/$filename'" EXIT
 
                extract_and_remove "$downloaddir/$filename"
yaah.rst
Show inline comments
...
 
@@ -7,9 +7,9 @@ Yet another AUR helper
 
----------------------
 

	
 
:Author:         Dennis Fink <the_metalgamer@hackerspace.lu>
 
:Date:           2015-12-14
 
:Date:           2015-12-19
 
:Copyright:      GPLv3+
 
:Version:        Yaah 1.1.0
 
:Version:        Yaah 1.1.1
 
:Manual section: 8
 
:Manual group:   Yaah Manual
 

	
0 comments (0 inline, 0 general)