X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=constants.sh;h=c526da4095a4032d27fc17ca78333dac01bec38e;hp=dee33a914dd1a6ed34a11a8f6f6e077ab3896752;hb=0e814c6ffab2486405f60a1dfbfa048e76bba1f2;hpb=9da739230659371a860e93dcaf3765b977e30de7 diff --git a/constants.sh b/constants.sh old mode 100644 new mode 100755 index dee33a9..c526da4 --- a/constants.sh +++ b/constants.sh @@ -1,3 +1,27 @@ #!/bin/zsh -VCF_FIELDS=(PHOTO LOGO FN NICKNAME SOUND GENDER KIND TITLE ROLE ORG MEMBER CATEGORIES ANNIVERSARY BDAY EMAIL TEL IMPP ADR URL LANG NOTE RELATED) +# Copyright 2014,2015 Paul Hänsch +# +# This file is part of Confetti. +# +# Confetti is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Confetti is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with Confetti. If not, see . + +export LC_ALL=de_DE.UTF-8 +data_dirs vcard ical cache temp mappings + +VCF_FIELDS=(PHOTO LOGO FN NICKNAME SOUND GENDER KIND TITLE ROLE ORG MEMBER CATEGORIES ANNIVERSARY BDAY EMAIL TEL IMPP ADR URL LANG NOTE RELATED X-ZACK-JOINDATE X-ZACK-LEAVEDATE) + +uuidgenerator(){ + head -c16 /dev/urandom |sha1sum - |cut -c1-32 +}