zerog

[archived] simple Parabola GNU/Linux post-install script
git clone git://git.hanetzok.net/zerog
Log | Files | Refs | README | LICENSE

commit 8373b514de206f25be6205d9910b523cf0b8f6ea
parent d684922b993f178237b4648a3c628aaea4bd81b7
Author: Markus Hanetzok <markus@hanetzok.net>
Date:   Tue,  8 Nov 2022 09:33:00 +0100

Changed error message in logfile

And also check if new post-receive hook works

Diffstat:
Mzerog | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/zerog b/zerog @@ -2,7 +2,7 @@ ### VARIABLES ### -name="$(logname)" # +name="$(logname)" progs="git.cybvik.xyz/zerog/files/progs.list.html" dotfiles="git://git.cybvik.xyz/dotfiles" logfile="/tmp/zerog.log" @@ -14,7 +14,7 @@ syntaxrepo="https://aur.archlinux.org/zsh-fast-syntax-highlighting.git" ### FUNCTIONS ### error() { # Write to logfile and exit script - printf "ERROR: $1\n" >> "$logfile" + printf "#######\n#ERROR#\n#######\n$1\n" >> "$logfile" clear printf "Error: $1\n" exit 1