From 04e3dd9e412cd0dde1cf9e626dc57e6047ff41cb Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Fri, 26 May 2023 16:02:10 +0800 Subject: [PATCH] update library --- install/update.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install/update.sh b/install/update.sh index 6ef75a83..fb50c3ef 100644 --- a/install/update.sh +++ b/install/update.sh @@ -72,12 +72,14 @@ os_version=$(get_os_version) CheckUpdate(){ +echo "Update appstore library ..." +cd /data/library && git pull cd /tmp && rm -rf install.sh && wget https://websoft9.github.io/StackHub/install/version.json old_version=$(cat /data/apps/stackhub/install/version.json) latest_version=$(cat /tmp/version.json) if [ "$old_version" = "$latest_version" ] then - echo "Your appstore is latest, it not need to update..." + echo "Your plugins and service is latest, it not need to update..." exit 1 else echo "------------------ Welcome to update websoft9's appstore, it will take 1-3 minutes -----------"