diff options
author | Einhard Leichtfuß <alguien@respiranto.de> | 2018-03-26 03:55:37 +0200 |
---|---|---|
committer | Einhard Leichtfuß <alguien@respiranto.de> | 2018-03-26 03:55:37 +0200 |
commit | 9e08e575fd909358d350c448feeb9b577ed63aef (patch) | |
tree | 3f8619630e0e02968ef8b6d519e78a217b641d7b /auria.sh | |
parent | 45ac92c03729f9e9806027be27513dca4b1d6e7f (diff) |
Install dependencies --asdeps
Furthermore, enable aliases.
Diffstat (limited to 'auria.sh')
-rwxr-xr-x | auria.sh | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -85,6 +85,8 @@ test -n "$EDITOR" && editor="$EDITOR" test -f "$global_conffile" && . "$global_conffile" test -f "$local_conffile" && . "$local_conffile" +shopt -s expand_aliases + alias parse=./parse typeset -a curl_args=( @@ -242,7 +244,12 @@ function install_full ask y "Continue" || return 0 fi - makepkg "${makepkg_options[@]}" -si || return 2 + if [[ "${aur_itype[$pkg]}" == dep ]] + then + makepkg "${makepkg_options[@]}" -si --asdeps || return 2 + else + makepkg "${makepkg_options[@]}" -si || return 2 + fi done } @@ -855,4 +862,4 @@ function match printf "%s\n" "${@:2}" | grep -q "^${1}$" } -#main "$@" +main "$@" |