From d8bfcc59b03ea1ad2af5ee7ca99688815e386bcb Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Wed, 3 Feb 2021 10:25:38 +0100 Subject: [PATCH] base-files: remove unused vn and _vn function The remaining vn calls have been ported to v. Therefore, these functions are no longer needed and will be removed. Signed-off-by: Florian Eckert --- package/base-files/files/lib/upgrade/common.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 5c85d986f9..2b152a3dfa 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -65,19 +65,11 @@ _v() { [ -n "$VERBOSE" ] && [ "$VERBOSE" -ge 1 ] && echo "$*" >&2 } -_vn() { - [ -n "$VERBOSE" ] && [ "$VERBOSE" -ge 1 ] && echo -n "$*" >&2 -} - v() { _v "$(date) upgrade: $@" logger -p info -t upgrade "$@" } -vn() { - _vn "$(date) upgrade: $@" -} - json_string() { local v="$1" v="${v//\\/\\\\}" -- 2.30.2