mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 00:50:30 +00:00
update
This commit is contained in:
parent
39fb58f5f7
commit
b4ebaa574c
1 changed files with 2 additions and 2 deletions
|
@ -77,10 +77,10 @@ old_version=$(cat /data/apps/stackhub/install/version.json)
|
|||
latest_version=$(cat /tmp/version.json)
|
||||
if [ "$old_version" = "$latest_version" ]
|
||||
then
|
||||
echo "------------------ Welcome to update websoft9's appstore, it will take 1-3 minutes -----------"
|
||||
else
|
||||
echo "Your appstore is latest, it not need to update..."
|
||||
exit 1
|
||||
else
|
||||
echo "------------------ Welcome to update websoft9's appstore, it will take 1-3 minutes -----------"
|
||||
fi
|
||||
|
||||
if [ $(id -u) != "0" ]; then
|
||||
|
|
Loading…
Reference in a new issue