Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- /usr/lib/yaourt/aur.sh 2012-01-20 16:57:02.000000000 +0400
- +++ /usr/lib/yaourt/aur.sh 2012-02-19 15:48:22.000000000 +0400
- @@ -14,7 +14,9 @@
- local pkg=${1#*/}
- #(( $# > 1 )) && local pkgurl=$2 || \
- #local pkgurl=$(pkgquery -Aif "%u" "$pkg")
- - local pkgurl="$AURURL/packages/$pkg/$pkg.tar.gz"
- + #local pkgurl="$AURURL/packages/$pkg/$pkg.tar.gz"
- + local subdir=$(echo $pkg | cut -c1-2)
- + local pkgurl="$AURURL/packages/$subdir/$pkg/$pkg.tar.gz"
- if [[ ! "$pkgurl" ]] || ! curl_fetch -fs "$pkgurl" -o "$pkg.tar.gz"; then
- error $(_gettext '%s not found in AUR.' "$pkg");
- return 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement