From 19155daaea2e3af21987b9fda917a0fafd1fad5e Mon Sep 17 00:00:00 2001 From: George Lacey Date: Tue, 11 May 2021 18:08:24 +0100 Subject: [PATCH] Remove unnecessary newlines --- borgweb/setup.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/borgweb/setup.sh b/borgweb/setup.sh index 51d0c8e..e93c966 100644 --- a/borgweb/setup.sh +++ b/borgweb/setup.sh @@ -2,18 +2,21 @@ function fill_line () { printf '=%.0s' $(seq 1 $1) + printf "\n" } function print_action () { printf "\n" fill_line $(tput cols) - printf "\n$1\n" + printf "$1\n" fill_line $(tput cols) - printf "\n\n" + printf "\n" } cd "${0%/*}" +print_action "Checking for existence of python venv" + if ! source ./.venv/bin/activate; then printf "No venv activation script\n" if [ -d "./.venv" ]