summaryrefslogtreecommitdiff
path: root/~lukeshu/etckeeper/etckeeper-pacman.patch
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-10-22 00:02:31 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-10-22 00:02:31 -0400
commit08ed8de1b8f57547d4bbf90bfcc2155cdb7c7a56 (patch)
tree0d7724a009c6c8e279c5ef74dbb4d4bae886e8e7 /~lukeshu/etckeeper/etckeeper-pacman.patch
parent95b6d407fca371873eae870c3d2b185c72002263 (diff)
update ~lukeshu/etckeeper
Diffstat (limited to '~lukeshu/etckeeper/etckeeper-pacman.patch')
-rw-r--r--~lukeshu/etckeeper/etckeeper-pacman.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/~lukeshu/etckeeper/etckeeper-pacman.patch b/~lukeshu/etckeeper/etckeeper-pacman.patch
new file mode 100644
index 000000000..1fb4acb62
--- /dev/null
+++ b/~lukeshu/etckeeper/etckeeper-pacman.patch
@@ -0,0 +1,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