parent
3d2cdf5649
commit
857d22870a
2
PKGBUILD
2
PKGBUILD
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Yves G. <theYinYeti@yalis.fr>
|
# Maintainer: Yves G. <theYinYeti@yalis.fr>
|
||||||
|
|
||||||
pkgname=epsi2ical
|
pkgname=epsi2ical
|
||||||
pkgver=0.1
|
pkgver=0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Create an ICS file based on EPSI’s web calendar"
|
pkgdesc="Create an ICS file based on EPSI’s web calendar"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
|
|
@ -105,7 +105,8 @@ function unwrap_ical_long_lines() {
|
||||||
function format_diff_and_send_mail() {
|
function format_diff_and_send_mail() {
|
||||||
{
|
{
|
||||||
echo "To: $TO"
|
echo "To: $TO"
|
||||||
echo "Subject: Changes in EPSI calendar"
|
echo 'Subject: Changes in EPSI calendar'
|
||||||
|
echo 'Content-Type: text/plain; charset=UTF-8'
|
||||||
echo
|
echo
|
||||||
diff -u8 \
|
diff -u8 \
|
||||||
<(crlf_to_lf <"$1" | unwrap_ical_long_lines | grep -vE '^DTSTAMP:|^UID:') \
|
<(crlf_to_lf <"$1" | unwrap_ical_long_lines | grep -vE '^DTSTAMP:|^UID:') \
|
||||||
|
|
Loading…
Reference in New Issue