From 6dc5cc825dc30153789157439795f2ec5714f470 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 10 Oct 2020 23:31:11 +0200 Subject: fix use printf (not non-posix echo -n) --- postfix/postfix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'postfix') diff --git a/postfix/postfix.sh b/postfix/postfix.sh index a82d746..f4925a1 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -185,7 +185,7 @@ getlinesfromfile() { done replacements="$replacements;s/$oldparam/$newstring/" done - echo -n "$param = " + printf "%s = " "$param" catfirstfile "$param" | sed 's/#.*//' | tr '\n' ',' | sed -e 's/^[, ]*//;s/[, ]\+/,/g' -e 's/\^/ /g' -e "s/,\$//$replacements" } @@ -446,7 +446,7 @@ diff -ruNw "$confdir" "$tempdir" || if [ $? -gt 1 ]; then exit $?; else needs_re if [ "1" = "$FORCE" ]; then do_update=y elif [ "1" = "$needs_reload" ]; then - echo -n "Above is the intended changes. OK to update (y/N)? " + printf 'Above is the intended changes. OK to update (y/N)? ' read do_update fi case $do_update in -- cgit v1.2.3 Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
path: root/tags/80/0a/20180725072227.GA8356@estella.local.invalid/debian
diff options
context:
space:
mode:
Diffstat (limited to 'tags/80/0a/20180725072227.GA8356@estella.local.invalid/debian')
-rw-r--r--tags/80/0a/20180725072227.GA8356@estella.local.invalid/debian0
1 files changed, 0 insertions, 0 deletions
;'/>
-rw-r--r--tags/88/41/E1jX9qG-0007LN-OX@usper.debian.org/killed0
-rw-r--r--tags/88/41/E1jX9qG-0007LN-OX@usper.debian.org/unread0
4 files changed, 0 insertions, 0 deletions