Skip to content

Commit d3f0374

Browse files
Update upgradeservice.sh
1 parent 960390e commit d3f0374

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/cron/upgradeservice.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
if [[ ${VERSION:0:3} != "2.2" ]]; then
3+
if [ ! -s $TCONFIGS/upgrade ]; then
44

55
echo "${LYELLOW}Upgrading...${STD}"; echo; sleep 2
66

@@ -50,3 +50,5 @@ else
5050
echo "${GREEN}Your system has already been upgraded... prodeeding${STD}"; echo
5151

5252
fi
53+
54+
echo v2 > $TCONFIGS/upgrade

0 commit comments

Comments
 (0)