From: Christian Heller Date: Tue, 29 Apr 2025 19:51:13 +0000 (+0200) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Bdb.prefix%7D%7D/todo?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=config Fix. --- diff --git a/bookworm/scripts/lib/apt_get_edited b/bookworm/scripts/lib/apt_get_edited index f8e948f..002056f 100644 --- a/bookworm/scripts/lib/apt_get_edited +++ b/bookworm/scripts/lib/apt_get_edited @@ -73,7 +73,7 @@ DEBIAN_FRONTEND=noninteractive apt-get -y $1 2>&1 | while read _LINE; do if [ ! -z "${_LAST_PREFIX}" ]; then echo '' fi - echo "\r ${_LINE}" + echo "\r${_LINE}" _LAST_PREFIX='' fi done diff --git a/bookworm/scripts/lib/check_finished_marker b/bookworm/scripts/lib/check_finished_marker index c625956..38b806e 100644 --- a/bookworm/scripts/lib/check_finished_marker +++ b/bookworm/scripts/lib/check_finished_marker @@ -3,6 +3,6 @@ check_finished_marker() { _PATH_MARKER="${PATH_ROOT_FINISHEDS}/$1" if [ ! -f "${_PATH_MARKER}" ]; then - abort "Missing dependency, did not find marker: ${_PATH_MARKER}" + abort "# Missing dependency, did not find marker: ${_PATH_MARKER}" fi } diff --git a/bookworm/scripts/lib/install_tags b/bookworm/scripts/lib/install_tags index 8cd5c3e..d3e87c4 100644 --- a/bookworm/scripts/lib/install_tags +++ b/bookworm/scripts/lib/install_tags @@ -3,7 +3,7 @@ install_tags() { _INSTALL_TAGS="$@" - echo "Installing packages and files for: ${_INSTALL_TAGS}" + echo "# Installing packages and files for: ${_INSTALL_TAGS}" ensure_packages_of_tags ${_INSTALL_TAGS} copy_dirtrees_of_tags ${_INSTALL_TAGS} } diff --git a/bookworm/scripts/setup_server.sh b/bookworm/scripts/setup_server.sh index e3aff7f..ad62e34 100755 --- a/bookworm/scripts/setup_server.sh +++ b/bookworm/scripts/setup_server.sh @@ -24,7 +24,7 @@ PATH_DUMP='/var/www/dump' echo -n '# Determining external IP …' for _CANDIDATE in $(hostname -I); do _START=$(echo ${_CANDIDATE} | cut -d'.' -f1) - if [ "$(echo -n ${_START} | wc -c)" -gt 3 ]; then + if [ "$(echo -n ${_START} | wc -c)" -gt 3 ]; then # ignore IPv6 continue fi if [ "${_START}" = "127" -o "${_START}" = "192" -o "${_START}" = "172" ]; then