From 398d59f25f8866763f1c4f192595b14754275f68 Mon Sep 17 00:00:00 2001 From: Christopher Brannon Date: Thu, 11 Feb 2021 02:58:47 -0800 Subject: [PATCH] runit-void: add vlogger to the logger xbps alternatives. --- srcpkgs/runit-void/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template index c495a45a3def03..6c8a8e326dc89d 100644 --- a/srcpkgs/runit-void/template +++ b/srcpkgs/runit-void/template @@ -1,7 +1,7 @@ # Template file for 'runit-void' pkgname=runit-void version=20200720 -revision=1 +revision=2 wrksrc="void-runit-${version}" build_style=gnu-makefile short_desc="Void Linux runit scripts" @@ -28,6 +28,11 @@ make_dirs=" /etc/zzz.d/suspend 0755 root root /etc/zzz.d/resume 0755 root root" +alternatives=" + logger:logger:/usr/bin/vlogger + logger:/usr/share/man/man1/logger.1:/usr/share/man/man8/vlogger.8 +" + post_install() { vmkdir usr/bin mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin