@@ -1,8 +1,10 @@
#!/bin/bash
#!/usr/bin/env bash
cd $(dirname $0) || exit 1
set -eu
if [ $(php daily.php -f update) -eq 1 ]; then
cd "$(dirname "$0")"
if [ "$(php daily.php -f update)" -eq 1 ]; then
git pull --quiet
php includes/sql-schema/update.php
fi
The note is not visible to the blocked user.