diff options
author | morganamilo <morganamilo@gmail.com> | 2019-11-03 22:14:02 +0000 |
---|---|---|
committer | morganamilo <morganamilo@gmail.com> | 2019-11-03 22:16:52 +0000 |
commit | b9acc34bf13ecf501980c4663353463fa93e1320 (patch) | |
tree | 79e22820a28913e6ee2926fc244789e72f9fdcb6 | |
parent | b665c1cda264099c936220f1797c37328050536c (diff) |
Imply --needed for --devel
--devel pulls in a list of potential devel packages to consider, while
--needed then filters out the ones that don't actually need to upgrade.
Given that I've never actually seen --devel used without --needed. It
makes sense to just make the former imply the latter and simplify the
user command.
-rwxr-xr-x | pacaur | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -132,6 +132,7 @@ UpgradeAur() { # add devel packages if ((devel)); then + needed=1 for i in "${allaurpkgs[@]}"; do [[ "${i}" != *${vcs} || " ${aurpkgs[*]} " = *" ${i} "* ]] || aurpkgs+=("${i}") done |