From 96b9828f2903cb5b52f03e0644e4c2e69acfeb5f Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Mon, 8 Jul 2019 14:02:47 +0200 Subject: [PATCH] travelmate: update 1.4.9 * fix a corner case issue with auto expiry of the 'Faulty Station' list (the last run information was not updated) Signed-off-by: Dirk Brenken (cherry picked from commit 59a69ee05933f0263101529184c6e896f6f0b8ee) --- net/travelmate/Makefile | 2 +- net/travelmate/files/travelmate.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/net/travelmate/Makefile b/net/travelmate/Makefile index 1ba32dfc6a..1cf9199960 100644 --- a/net/travelmate/Makefile +++ b/net/travelmate/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=travelmate -PKG_VERSION:=1.4.8 +PKG_VERSION:=1.4.9 PKG_RELEASE:=1 PKG_LICENSE:=GPL-3.0+ PKG_MAINTAINER:=Dirk Brenken diff --git a/net/travelmate/files/travelmate.sh b/net/travelmate/files/travelmate.sh index ed68c7bb46..acb83a0ad9 100755 --- a/net/travelmate/files/travelmate.sh +++ b/net/travelmate/files/travelmate.sh @@ -10,7 +10,7 @@ # LC_ALL=C PATH="/usr/sbin:/usr/bin:/sbin:/bin" -trm_ver="1.4.8" +trm_ver="1.4.9" trm_sysver="unknown" trm_enabled=0 trm_debug=0 @@ -359,6 +359,7 @@ f_jsnup() if [ -z "$(printf "%s" "${faulty_list}" | grep -Fo "${faulty_station}")" ] then faulty_list="$(f_trim "${faulty_list} ${faulty_station}")" + last_date="$(/bin/date "+%Y.%m.%d-%H:%M:%S")" fi fi json_add_string "travelmate_status" "${status}" -- 2.30.2