summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-ximport-kirchenmusik4
1 files changed, 2 insertions, 2 deletions
diff --git a/import-kirchenmusik b/import-kirchenmusik
index 4e11c6e..36dacc5 100755
--- a/import-kirchenmusik
+++ b/import-kirchenmusik
@@ -3,7 +3,7 @@
tmp_file=$(mktemp)
trap 'rm -f "${tmp_file}"' EXIT
-printf '%s %s %s\n' \
+printf '%s %s %s.\n' \
'oratorienchor' 'Erich' '' \
'thueringer-saengerknaben' 'Familie' 'K\&F: ' \
| while read -r Chor Kalender Extra; do
@@ -14,7 +14,7 @@ printf '%s %s %s\n' \
curl -Ss "${url%/}/?ical=1" \
| sed '
/^BEGIN:VTIMEZONE\s*$/,/^END:VTIMEZONE\s*$/ w'"${tmp_file}"'
- s@^SUMMARY:@\0'"${Extra}"'@
+ s@^SUMMARY:@\0'"${Extra%.}"'@
' \
| khal import -a "${Kalender}" --batch
done