diff options
author | Unrud <unrud@openaliasbox.org> | 2017-06-04 17:16:11 +0200 |
---|---|---|
committer | Unrud <unrud@openaliasbox.org> | 2017-06-04 17:16:36 +0200 |
commit | 10eef51a0f086ad148928ba965c330599b4765cb (patch) | |
tree | d0283e55f1b4e66c49bf17461b5fee211b78768a /radicale_infcloud/web/cache_update.sh | |
parent | Update license (diff) | |
download | radicaleinfcloud-10eef51a0f086ad148928ba965c330599b4765cb.tar.gz radicaleinfcloud-10eef51a0f086ad148928ba965c330599b4765cb.tar.bz2 radicaleinfcloud-10eef51a0f086ad148928ba965c330599b4765cb.zip |
Update package for new web plugin interface
Diffstat (limited to 'radicale_infcloud/web/cache_update.sh')
-rwxr-xr-x | radicale_infcloud/web/cache_update.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/radicale_infcloud/web/cache_update.sh b/radicale_infcloud/web/cache_update.sh new file mode 100755 index 0000000..77f8670 --- /dev/null +++ b/radicale_infcloud/web/cache_update.sh @@ -0,0 +1,5 @@ +#! /bin/bash +# Use this script every time you modify any file to force browsers to reload it (empty HTML5 cache). + +command -v ed &> /dev/null || { echo "Error: 'ed' not installed. Aborting." > /dev/stderr; exit 1; } +printf ",s/#V.*/#V $(date '+%Y%m%d%H%M%S')/\nw\nq\n" | ed -s cache.manifest |