From b544229ca182398945586ddc9e9835988401149b Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Mon, 18 Apr 2022 17:01:29 -0700 Subject: [PATCH] Cleaned up updateCalendar.sh --- bin/updateCalendar.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bin/updateCalendar.sh b/bin/updateCalendar.sh index 50b50ef..0f0d40b 100755 --- a/bin/updateCalendar.sh +++ b/bin/updateCalendar.sh @@ -1,12 +1,7 @@ #!/bin/bash -# Odd. Seems the following causes wget to use IPv6 instead of IPv4. Well -# recently we turned off IPv6 because we suspect this causes our WiFi -# dropout problem. But then this hangs. -#wget -O /tmp/calendar.$$.ics 'https://www.google.com/calendar/ical/adefaria%40gmail.com/public/basic.ics' >> /tmp/updateCalendar.$$.log 2>&1 -wget --no-check-certificate -O /tmp/calendar.$$.ics 'https://172.217.11.174/calendar/ical/adefaria%40gmail.com/public/basic.ics' >> /tmp/updateCalendar.$$.log 2>&1 +wget -O /tmp/calendar.$$.ics https://calendar.google.com/calendar/ical/adefaria%40gmail.com/public/basic.ics > /tmp/updateCalendar.$$.log 2>&1 wget -O /tmp/meetups.$$.ics 'http://www.meetup.com/events/ical/10426135/8dfdd0ffaaedecf720c5faf0cf3871b7ee5f5c1e/going' >> /tmp/updateCalendar.$$.log 2>&1 - wget -4 -O /tmp/tripit.$$.ics 'http://www.tripit.com/feed/ical/private/06C4F90D-EFEFB9C5FDB17EC5FCB327DE31A54D96/tripit.ics' >> /tmp/updateCalendar.$$.log 2>&1 # Now let's combine the files. First strip off the END:CALENDAR from the main -- 2.17.1