diff options
author | William Johansson <radar@radhuset.org> | 2015-04-24 20:22:51 +0200 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-06-10 15:43:11 -0400 |
commit | 1f21fbe26dfbc982492c8b7b90f3758a910f113d (patch) | |
tree | 80183a72bf5cd18387a89ddd368e762841c5f930 /list-installed.d/50list-installed | |
parent | 87bb4978dade6117f69799f435dad741eb741655 (diff) |
Initial FreeBSD support with pkgng plugin
Add a basic pkgng plugin as a preparation to integrate etckeeper on
FreeBSD. Currently not enabled to build automatically.
To use on FreeBSD, install etckeeper manually and install the plugin
with:
$ cd pkgng
$ make
$ make install
and add this line to /usr/local/etc/pkg.conf:
PLUGINS [ etckeeper ]
Diffstat (limited to 'list-installed.d/50list-installed')
-rwxr-xr-x | list-installed.d/50list-installed | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/list-installed.d/50list-installed b/list-installed.d/50list-installed index 2ac569a..4a8ce70 100755 --- a/list-installed.d/50list-installed +++ b/list-installed.d/50list-installed @@ -17,5 +17,7 @@ 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" = pkgng ]; then + pkg info -E "*" fi fi |