Support URLs pointing to a zip file
This commit is contained in:
@@ -3,9 +3,11 @@
|
||||
# Configuration file for icscheck.sh
|
||||
# https://winklerfamilie.eu/git/SmallThings/icsutils.git
|
||||
|
||||
local icsconf_url="https://somethi.ng"
|
||||
local icsconf_output="${HOME}/my.ics"
|
||||
local icsconf_useragent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0"
|
||||
readonly icsconf_url="https://somethi.ng"
|
||||
# Only set icsconf_zip if the url points to a zip file
|
||||
readonly icsconf_zip="ics_name_inside_zip_$(date +%Y).ics"
|
||||
readonly icsconf_output="${HOME}/my.ics"
|
||||
readonly icsconf_useragent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0"
|
||||
|
||||
# icsError
|
||||
# Called if the download from ${icsconf_url} failed
|
||||
|
||||
Reference in New Issue
Block a user