dot

packages and services management
Log | Files | Refs | README

commit 4f0a4ec2c5661425a98b38b716243afded6e3b61
parent 04ca9a2271f3992444c564205f0531e76d5bbba5
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 24 Nov 2018 12:10:27 +0100

bin/pack-*: show the step before processing it

Diffstat:
Mbin/pack-build | 2+-
Mbin/pack-install | 2+-
As6/tinydns/josuah.net/conf/ns/josuah.net | 2++
3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/bin/pack-build b/bin/pack-build @@ -5,7 +5,7 @@ test -f "/etc/pack/$pack/build" || exit 0 test ! -d "/var/pack/pkg/$pack/$version" || exit 0 trap "rm -rf '/var/pack/pkg/$pack/$version'" INT TERM EXIT -o=$(pack-get "$pack" "$version") || { echo "$o"; exit 1; } +o=$(pack-get "$pack" "$version" | sed q) || { echo "$o"; exit 1; } echo "$o build" mkdir -p "/var/log/pack/$pack/$version" exec >"/var/log/pack/$pack/$version/build" 2>&1 diff --git a/bin/pack-install b/bin/pack-install @@ -2,7 +2,7 @@ PACK=${PACK:-/var/pack} pack=$1 version=${2:-$(sed q "/etc/pack/$1/version")} -o=$(pack-build "$pack" "$version") || { echo "$o"; exit 1; } +o=$(pack-build "$pack" "$version" | sed q) || { echo "$o"; exit 1; } echo "$o install" mkdir -p "/var/log/pack/$pack/$version" exec >/var/log/pack/$pack/$version/install 2>&1 diff --git a/s6/tinydns/josuah.net/conf/ns/josuah.net b/s6/tinydns/josuah.net/conf/ns/josuah.net @@ -0,0 +1 @@ +../host/glaphyrae.josuah.net+ \ No newline at end of file