diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-12-01 02:32:53 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-12-01 02:32:53 +0300 |
commit | fe2a6a4ce718c531616593b9ddff0b45271a67d9 (patch) | |
tree | 5436cf151f5ae13ce2f40584419bc84e56965a80 /%HOME% | |
parent | list_packages: support Ubuntu (diff) | |
download | linux-home-fe2a6a4ce718c531616593b9ddff0b45271a67d9.tar.gz linux-home-fe2a6a4ce718c531616593b9ddff0b45271a67d9.zip |
list_packages: package names only
Diffstat (limited to '')
-rw-r--r-- | %HOME%/.bashrc | 3 |
1 files changed, 2 insertions, 1 deletions
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$' \ |