From 74c1c3418f5be3eeb28165583110810f309a0de1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 8 Apr 2015 18:26:44 +0200 Subject: [PATCH] runit-void: only create the current runlevel symlink if it does not exist. --- srcpkgs/runit-void/INSTALL | 4 +++- srcpkgs/runit-void/template | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/runit-void/INSTALL b/srcpkgs/runit-void/INSTALL index 15e71754803..276bf80d350 100644 --- a/srcpkgs/runit-void/INSTALL +++ b/srcpkgs/runit-void/INSTALL @@ -8,7 +8,9 @@ post) ln -sf /etc/sv/sulogin etc/runit/runsvdir/single mkdir -p etc/runit/runsvdir/default - ln -sf default etc/runit/runsvdir/current + if [ ! -e etc/runit/runsvdir/current ]; then + ln -sf default etc/runit/runsvdir/current + fi for f in 1 2 3 4 5 6; do [ -e /etc/sv/agetty-tty${f}/down ] || ln -sf /etc/sv/agetty-tty$f etc/runit/runsvdir/default done diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template index 1130abaebac..acfcc6fd34c 100644 --- a/srcpkgs/runit-void/template +++ b/srcpkgs/runit-void/template @@ -1,7 +1,7 @@ # Template file for 'runit-void' pkgname=runit-void version=20150407 -revision=2 +revision=3 wrksrc="void-runit-${version}" build_pie=yes build_style=gnu-makefile