autoinst

scripts to make installation of custom debian easier and more automated
git clone git://deadbeef.fr/autoinst.git
Log | Files | Refs | README | LICENSE

commit 99c05e97ae73d343df4e7a0821dc965c3775f465
parent 188f7c1e5f3ed97ae32d0eab1cb34905cbb5932a
Author: Morel BĂ©renger <berenger.morel@neutralite.org>
Date:   Thu, 14 Nov 2019 16:02:46 +0100

added a die() function to runit/common

Diffstat:
Metc/runit/common | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/etc/runit/common b/etc/runit/common @@ -1,5 +1,11 @@ #!/bin/sh +die() +{ + printf "%s\n" $@ | tee ./down + exit 1 +} + HAS_LOG="$(test -d "$SVNAME/log" && printf "yes")" test "yes" = "$HAS_LOG" && exec 2>&1 exec 0<&-