base-files: remove unused vn and _vn function
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 3 Feb 2021 09:25:38 +0000 (10:25 +0100)
committerPaul Spooren <mail@aparcar.org>
Mon, 21 Jun 2021 01:15:32 +0000 (15:15 -1000)
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 <fe@dev.tdt.de>
package/base-files/files/lib/upgrade/common.sh

index 5c85d986f96e45a5c899ce7b6b4bee37aa6cc9dd..2b152a3dfad8c119942e518a4a88ce479966b8cd 100644 (file)
@@ -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//\\/\\\\}"