Wiki: better yaourt check command
Previous one resulted in duplicating checkupdates output and yaourt,
effectively doubling the number of arch updates + adding AUR updates.
This one gets the best of both worlds: with version number for arch
updates and without for AUR updates.
Sample output (line 1 & 2 are checkupdates, line 3 is yaourt/AUR):
dconf 0.26.1-1 -> 0.28.0-1
dconf-editor 3.26.2-1 -> 3.28.0-1
devd
---
Home.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Home.md b/Home.md
index 6bfd44d..8dba9a2 100644
--- a/Home.md
+++ b/Home.md
@@ -7,7 +7,7 @@
## Add AUR Support
### yaourt
-* Check command : ``/bin/sh -c "/usr/bin/checkupdates ; /usr/bin/yaourt -Qqu -a"``
+* Check command : ``/bin/sh -c "(/usr/bin/checkupdates; /usr/bin/yaourt -Qqu -a) | sort -u -t' ' -k1,1"``
* Update command : ``gnome-terminal -e 'sh -c "yaourt -Syu -a ; echo Done - Press enter to exit; read" '``
## pacaur