From db9facd0910bd2b3cc959bfde4a5bdd6f7d22430 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 20 Apr 2021 15:22:55 +0300 Subject: os.sh: add manual_pkg_list_arch --- %HOME%/.bash_utils/os.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 } -- cgit v1.2.3