From fe2a6a4ce718c531616593b9ddff0b45271a67d9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 1 Dec 2016 02:32:53 +0300 Subject: list_packages: package names only --- %HOME%/.bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '%HOME%') diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc index 7968258..730a7ea 100644 --- a/%HOME%/.bashrc +++ b/%HOME%/.bashrc @@ -66,7 +66,8 @@ list_packages() ( set -o errexit -o nounset -o pipefail if is_cygwin; then - cygcheck --check-setup --dump-only + cygcheck --check-setup --dump-only \ + | cut -d ' ' -f 1 elif is_ubuntu; then dpkg --get-selections \ | grep --invert-match -- 'deinstall$' \ -- cgit v1.2.3