From 7b6df7cb89a0a2af11ae64f9698ac8a39707a529 Mon Sep 17 00:00:00 2001 From: Jonathan Wyss Date: Tue, 8 Oct 2024 16:37:36 +0200 Subject: [PATCH] fix wrong using of $var instead of var remove unused header --- caldav-workaround.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/caldav-workaround.sh b/caldav-workaround.sh index e92ff6d..7f9109e 100644 --- a/caldav-workaround.sh +++ b/caldav-workaround.sh @@ -6,10 +6,11 @@ set +o history echo "calendar/file.ics PW\n" echo $file echo "insert PW for caldav:" -read -s $pw +read -s pw +echo $pw curl --verbose --user j.wyss@kolabnow.ch:$pw -X PUT \ "https://apps.kolabnow.com/calendars/j.wyss@kolabnow.ch/$1"\ - -H "Content-Type:text/calendar, If-Match: 'af036eb5632652ce-931-d41d8cd98f00b204'" \ + -H "Content-Type:text/calendar" \ -T $file echo "https://apps.kolabnow.com/calendars/j.wyss@kolabnow.ch/$1"