summaryrefslogtreecommitdiff
path: root/list-installed.d/50list-installed
diff options
context:
space:
mode:
authorTiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>2013-07-07 01:42:40 -0300
committerTiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>2013-07-07 01:44:52 -0300
commit5a0ec0151cea3048292a297bf5da3eca73c6a090 (patch)
tree0272e6e0d69ca26eb196cdd6bb643d1f82168add /list-installed.d/50list-installed
parent4700cd4415f26cc96d42ce64b3ee171087ace159 (diff)
add support for pacman package manager
Diffstat (limited to 'list-installed.d/50list-installed')
-rwxr-xr-xlist-installed.d/50list-installed2
1 files changed, 2 insertions, 0 deletions
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