File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ IOTstack is a builder for docker-compose to easily make and maintain IoT stacks
6
6
7
7
The bulk of the README has moved to the Wiki. Please check it out [ here] ( https://github.com/gcgarner/IOTstack/wiki )
8
8
9
+ * 2019-11-28 Fixed update notification on menu because
9
10
* 2019-11-28 Fixed mosquitto logs and database not mapping correctly to volumes. Pull new template to fix
10
11
* 2019-11-28 added the option to disable swapfile by setting swappiness to 0
11
12
* 2019-11-28 PR @stfnhmplr fixed incorrect shegang on MariaDB terminal.sh
Original file line number Diff line number Diff line change @@ -135,10 +135,13 @@ function yml_builder() {
135
135
echo " checking for project update"
136
136
git fetch origin master
137
137
138
- if [ $( git status | grep -c " Your branch is up to date" ) ]; then
138
+ if [ $( git status | grep -c " Your branch is up to date" ) -eq 1 ]; then
139
+ # delete .outofdate if it exisist
139
140
[ -f .outofdate ] && rm .outofdate
141
+ echo " Project is up to date"
140
142
141
143
else
144
+ echo " An update is available for the project"
142
145
if [ ! -f .outofdate ]; then
143
146
whiptail --title " Project update" --msgbox " An update is available for the project\nYou will not be reminded again until you next update" 8 78
144
147
touch .outofdate
You can’t perform that action at this time.
0 commit comments