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)
|
latest_version=$(cat /tmp/version.json)
|
||||||
if [ "$old_version" = "$latest_version" ]
|
if [ "$old_version" = "$latest_version" ]
|
||||||
then
|
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..."
|
echo "Your appstore is latest, it not need to update..."
|
||||||
exit 1
|
exit 1
|
||||||
|
else
|
||||||
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue