summaryrefslogtreecommitdiff
path: root/tsp/jobs/update_www.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tsp/jobs/update_www.sh')
-rwxr-xr-xtsp/jobs/update_www.sh12
1 files changed, 1 insertions, 11 deletions
diff --git a/tsp/jobs/update_www.sh b/tsp/jobs/update_www.sh
index 41676e1..06af2fb 100755
--- a/tsp/jobs/update_www.sh
+++ b/tsp/jobs/update_www.sh
@@ -20,14 +20,7 @@ export TSP_DIR="$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)/.."
. "${TSP_DIR}/common.sh"
-# {{{ DBPATH
-lockfile-create --use-pid "${DBPATH}"
-
-test -f "${UPDATE_WWW}" || {
- # }}} DBPATH
- lockfile-remove "${DBPATH}"
- die "No need to update the webpage"
-}
+test -f "${UPDATE_WWW}" || die "No need to update the webpage" 0
# Publish to www
{
@@ -44,6 +37,3 @@ test -f "${UPDATE_WWW}" || {
} > "${WWW_3_PUBLISH}"
rm "${UPDATE_WWW}"
-
-# }}} DBPATH
-lockfile-remove "${DBPATH}"