summaryrefslogtreecommitdiff
path: root/pcr/etckeeper/etckeeper-pacman.patch
blob: 1fb4acb62d029407feb5ba5f58c7cf9db42d6a5c (plain)
1
2
3
4
5
6
7
8
9
--- list-installed.d/50list-installed.orig	2012-10-21 23:45:30.000000000 -0400
+++ list-installed.d/50list-installed	2012-10-21 23:45:39.000000000 -0400
@@ -7,4 +7,6 @@
 		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 -Qd|sed 's/.*/& (dep)/'; pacman -Qe|sed 's/.*/& (explicit)/'; } |sort
 fi