From af5e135ae3c4493351861142a9f16f26d1b573b2 Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Tue, 9 Mar 2021 19:58:29 -0500 Subject: bootstrap/helpers/cache-bust -> bootstrap/helpers/cache --- bootstrap/helpers/cache | 4 ++++ bootstrap/helpers/cache-bust | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100755 bootstrap/helpers/cache delete mode 100755 bootstrap/helpers/cache-bust (limited to 'bootstrap') diff --git a/bootstrap/helpers/cache b/bootstrap/helpers/cache new file mode 100755 index 0000000..267b442 --- /dev/null +++ b/bootstrap/helpers/cache @@ -0,0 +1,4 @@ +#!/bin/sh -eu +cachedir=$(dirname "$(pwd)")/app/storage/cache; +rm -r "${cachedir:?}/"* > /dev/null 2>&1 || { echo "Nothing to invalidate in ${cachedir:?}" && exit; }; +echo "Cache invalidated in ${cachedir:?}"; diff --git a/bootstrap/helpers/cache-bust b/bootstrap/helpers/cache-bust deleted file mode 100755 index 267b442..0000000 --- a/bootstrap/helpers/cache-bust +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -eu -cachedir=$(dirname "$(pwd)")/app/storage/cache; -rm -r "${cachedir:?}/"* > /dev/null 2>&1 || { echo "Nothing to invalidate in ${cachedir:?}" && exit; }; -echo "Cache invalidated in ${cachedir:?}"; -- cgit v1.2.3