Skip to content

Commit

Permalink
Merge pull request #470 from lenoch/yaourt-pkg-tar
Browse files Browse the repository at this point in the history
yaourt: support .pkg.tar extension
  • Loading branch information
syohex committed Jan 2, 2017
2 parents e88b3bc + 9a7bf55 commit fb28eaf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/_yaourt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ _yaourt_action_query() {
_arguments -s : \
"$_yaourt_opts_common[@]" \
"$_yaourt_opts_query_modifiers[@]" \
'*:package file:_files -g "*.pkg.tar.*"'
'*:package file:_files -g "*.pkg.tar*"'
;;
query_group)
_arguments -s : \
Expand Down Expand Up @@ -273,7 +273,7 @@ _yaourt() {
_yaourt_opts_pkgfile=(
'-d[Skip dependency checks]'
'-f[Overwrite conflicting files]'
'*:package file:_files -g "*.pkg.tar.*(.)"'
'*:package file:_files -g "*.pkg.tar*(.)"'
)

# options for passing to _arguments: subactions for --query command
Expand Down Expand Up @@ -357,11 +357,11 @@ _yaourt() {
"$_yaourt_opts_query_modifiers[@]" \
'*:package file:_files'
;;
-Q*p*) # file *.pkg.tar.*
-Q*p*) # file *.pkg.tar*
_arguments -s : \
"$_yaourt_opts_common[@]" \
"$_yaourt_opts_query_modifiers[@]" \
'*:package file:_files -g "*.pkg.tar.*"'
'*:package file:_files -g "*.pkg.tar*"'
;;
-Q*) _yaourt_action_query ;;
-R*) _yaourt_action_remove ;;
Expand Down

0 comments on commit fb28eaf

Please sign in to comment.