summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicolaichuk <nicolaichuk@gmail.com>2015-09-20 19:18:03 +0300
committerJoey Hess <joeyh@joeyh.name>2015-09-21 16:38:38 -0400
commit83a0fbfa85d01554420f329697cf51166f7c7978 (patch)
treecccc4ecd2c889fb3c8d754fc7bcbe2f5b6701c3e
parentd3b2a6217c3b140c029b95bfde83ad6a4211dd68 (diff)
add support pacmatic http://kmkeen.com/pacmatic/
-rw-r--r--etckeeper.conf2
-rwxr-xr-xlist-installed.d/50list-installed2
-rwxr-xr-xupdate-ignore.d/01update-ignore2
3 files changed, 4 insertions, 2 deletions
diff --git a/etckeeper.conf b/etckeeper.conf
index 2aec35e..19fc894 100644
--- a/etckeeper.conf
+++ b/etckeeper.conf
@@ -34,7 +34,7 @@ DARCS_COMMIT_OPTIONS="-a"
HIGHLEVEL_PACKAGE_MANAGER=apt
# The low-level package manager that's being used.
-# (dpkg, rpm, pacman, pacman-g2, etc)
+# (dpkg, rpm, pacman, pacmatic, pacman-g2, etc)
LOWLEVEL_PACKAGE_MANAGER=dpkg
# To push each commit to a remote, put the name of the remote here.
diff --git a/list-installed.d/50list-installed b/list-installed.d/50list-installed
index 4a8ce70..129447f 100755
--- a/list-installed.d/50list-installed
+++ b/list-installed.d/50list-installed
@@ -17,6 +17,8 @@ else
rpm -qa --qf "%|epoch?{%{epoch}}:{0}|:%{name}-%{version}-%{release}.%{arch}\n" | sort
elif [ "$LOWLEVEL_PACKAGE_MANAGER" = pacman ]; then
pacman -Q
+ elif [ "$LOWLEVEL_PACKAGE_MANAGER" = pacmatic ]; then
+ pacmatic -Q
elif [ "$LOWLEVEL_PACKAGE_MANAGER" = pkgng ]; then
pkg info -E "*"
fi
diff --git a/update-ignore.d/01update-ignore b/update-ignore.d/01update-ignore
index 098fab8..7347287 100755
--- a/update-ignore.d/01update-ignore
+++ b/update-ignore.d/01update-ignore
@@ -93,7 +93,7 @@ writefile () {
comment "new and old versions of conffiles, stored by apt/rpm"
ignore "*.rpm*"
nl
- elif [ "$LOWLEVEL_PACKAGE_MANAGER" = "pacman-g2" -o "$LOWLEVEL_PACKAGE_MANAGER" = "pacman" ]; then
+ elif [ "$LOWLEVEL_PACKAGE_MANAGER" = "pacman-g2" -o "$LOWLEVEL_PACKAGE_MANAGER" = "pacman" -o "$LOWLEVEL_PACKAGE_MANAGER" = "pacmatic" ]; then
comment "new and old versions of conffiles, stored by pacman"
ignore "*.pacnew"
ignore "*.pacorig"