diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-20 15:22:55 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-20 15:22:55 +0300 |
commit | db9facd0910bd2b3cc959bfde4a5bdd6f7d22430 (patch) | |
tree | bf461eeb04bc80d88fc07cd0610ae2b6b1ac5d3f | |
parent | Sublime Text 3: I didn't add ignored_packages?.. (diff) | |
download | linux-home-db9facd0910bd2b3cc959bfde4a5bdd6f7d22430.tar.gz linux-home-db9facd0910bd2b3cc959bfde4a5bdd6f7d22430.zip |
os.sh: add manual_pkg_list_arch
-rw-r--r-- | %HOME%/.bash_utils/os.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/%HOME%/.bash_utils/os.sh b/%HOME%/.bash_utils/os.sh index 949116d..4be558a 100644 --- a/%HOME%/.bash_utils/os.sh +++ b/%HOME%/.bash_utils/os.sh @@ -115,6 +115,16 @@ user_pkg_list_manjaro() ( <( pacman -Qeqn | sort ) ) +manual_pkg_list_arch() ( + set -o errexit -o nounset -o pipefail + + expac '%n %p' | grep 'Unknown Packager' +) + +manual_pkg_list_manjaro() { + manual_pkg_list_arch +} + pkg_list_arch() { pacman -Qq } |