From 83a0fbfa85d01554420f329697cf51166f7c7978 Mon Sep 17 00:00:00 2001 From: nicolaichuk Date: Sun, 20 Sep 2015 19:18:03 +0300 Subject: add support pacmatic http://kmkeen.com/pacmatic/ --- etckeeper.conf | 2 +- list-installed.d/50list-installed | 2 ++ update-ignore.d/01update-ignore | 2 +- 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" -- cgit v1.2.3