aboutsummaryrefslogtreecommitdiff
path: root/update-infcloud-cache
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-01-03 16:51:53 +0000
committerB. Stack <bgstack15@gmail.com>2023-01-03 16:51:53 +0000
commit2bb1ee42a48c312151558b1bbcc31e86c26d924a (patch)
treee4dd327a4a9afa5021f608dd2373bfd268ba6734 /update-infcloud-cache
parentMerge branch 'login-improvements' into 'stackrpms' (diff)
parentmake update-infcloud-cache use env MANIFEST (diff)
downloadradicaleinfcloud-2bb1ee42a48c312151558b1bbcc31e86c26d924a.tar.gz
radicaleinfcloud-2bb1ee42a48c312151558b1bbcc31e86c26d924a.tar.bz2
radicaleinfcloud-2bb1ee42a48c312151558b1bbcc31e86c26d924a.zip
Merge branch 'add-ctrl-enter' into 'stackrpms'
Add ctrl enter See merge request bgstack15/RadicaleInfCloud!3
Diffstat (limited to 'update-infcloud-cache')
-rwxr-xr-xupdate-infcloud-cache2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-infcloud-cache b/update-infcloud-cache
index 071ec77..162b8d1 100755
--- a/update-infcloud-cache
+++ b/update-infcloud-cache
@@ -4,7 +4,7 @@
# Use this script every time you modify any file to force browsers to reload it (empty HTML5 cache).
USE_BIN=none
-MANIFEST=/etc/infcloud/cache.manifest
+test -z "${MANIFEST}" && MANIFEST=/etc/infcloud/cache.manifest
test -e $( command -v ed 2>/dev/null ) && USE_BIN=ed
test -e $( command -v sed 2>/dev/null ) && USE_BIN=sed
command -v "${USE_BIN}" &> /dev/null || { echo "Error: 'ed' not installed. Aborting." > /dev/stderr; exit 1; }
bgstack15