aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-02-03 10:25:38 +0100
committerPaul Spooren <mail@aparcar.org>2021-06-20 15:15:32 -1000
commitd8bfcc59b03ea1ad2af5ee7ca99688815e386bcb (patch)
tree8a1d05858aa75bd473fd18c47ee14a03f94e27e9 /package/base-files/files
parent42d78fedfb039b7ffd623c910cd946480c75bb26 (diff)
downloadupstream-d8bfcc59b03ea1ad2af5ee7ca99688815e386bcb.tar.gz
upstream-d8bfcc59b03ea1ad2af5ee7ca99688815e386bcb.tar.bz2
upstream-d8bfcc59b03ea1ad2af5ee7ca99688815e386bcb.zip
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>
Diffstat (limited to 'package/base-files/files')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh8
1 files changed, 0 insertions, 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//\\/\\\\}"