diff options
| author | cassio <cassiopc@gmail.com> | 2018-08-29 13:48:35 +0000 |
|---|---|---|
| committer | cassio <cassiopc@gmail.com> | 2018-08-29 13:48:35 +0000 |
| commit | c0ed83f955cb851f67938719bdcaa809f165b86a (patch) | |
| tree | c221a53e4f9d47c360386e71dfecd536560000c1 | |
| parent | 2cacdb0bfdf2c66ba095f9f922e3f3f06f4ba753 (diff) | |
| download | boca-c0ed83f955cb851f67938719bdcaa809f165b86a.tar.gz boca-c0ed83f955cb851f67938719bdcaa809f165b86a.zip | |
show date
| -rw-r--r-- | tools/boca-fixes | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/boca-fixes b/tools/boca-fixes index 277542b..b6d6bb4 100644 --- a/tools/boca-fixes +++ b/tools/boca-fixes @@ -30,10 +30,11 @@ if [ -f $tmpfile ]; then grep -q boca-updates $tmpfile if [ "$?" == "0" ]; then chmod 700 $tmpfile - echo "Running BOCA update" - . $tmpfile + echo "$(date) - running update" + /bin/bash $tmpfile + [ "$?" == "0" ] && echo "$(date) - running ok" else rm $tmpfile - echo "no BOCA update" + echo "$(date) - no update" fi fi |