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 <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2021-02-03 10:25:38 +01:00 committed by Paul Spooren
parent 42d78fedfb
commit d8bfcc59b0

View 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//\\/\\\\}"