From 5a0ec0151cea3048292a297bf5da3eca73c6a090 Mon Sep 17 00:00:00 2001 From: Tiago Stürmer Daitx Date: Sun, 7 Jul 2013 01:42:40 -0300 Subject: add support for pacman package manager --- list-installed.d/50list-installed | 2 ++ 1 file changed, 2 insertions(+) (limited to 'list-installed.d') diff --git a/list-installed.d/50list-installed b/list-installed.d/50list-installed index f3f4eed..f392027 100755 --- a/list-installed.d/50list-installed +++ b/list-installed.d/50list-installed @@ -7,4 +7,6 @@ if [ "$LOWLEVEL_PACKAGE_MANAGER" = dpkg ]; then egrep '(ok installed|ok config-files)' | cut -f2,3 elif [ "$LOWLEVEL_PACKAGE_MANAGER" = rpm ]; then rpm -qa --qf "%|epoch?{%{epoch}}:{0}|:%{name}-%{version}-%{release}.%{arch}\n" | sort +elif [ "$LOWLEVEL_PACKAGE_MANAGER" = pacman ]; then + pacman -Q fi -- cgit v1.2.3