This commit is contained in:
qiaofeng1227 2023-05-26 16:03:37 +08:00
parent 04e3dd9e41
commit 2ee63cab58

View file

@ -79,10 +79,10 @@ old_version=$(cat /data/apps/stackhub/install/version.json)
latest_version=$(cat /tmp/version.json) latest_version=$(cat /tmp/version.json)
if [ "$old_version" = "$latest_version" ] if [ "$old_version" = "$latest_version" ]
then then
echo "Your plugins and service is latest, it not need to update..." echo "------------------ Your plugins and service is latest, it not need to update ------------------ "
exit 1 exit 1
else else
echo "------------------ Welcome to update websoft9's appstore, it will take 1-3 minutes -----------" echo "------------------ Welcome to update websoft9's appstore, it will take 1-3 minutes -----------------"
fi fi
if [ $(id -u) != "0" ]; then if [ $(id -u) != "0" ]; then