Bradley M. Kuhn
5ae8c190a3
Failure to acquire lock should definitely be an exit 1.
2014-02-26 07:54:43 -05:00
Bradley M. Kuhn
5f1d54bf4b
This really should have had the loop first, then the test.
...
I am left wondering if there was actually I reason I wrote it the other way,
and no time to run git blame to see why.
2014-02-19 18:22:48 -05:00
Bradley M. Kuhn
f2f481bdb0
exit 1 on errors in all possible cases.
2014-02-19 18:21:06 -05:00
Bradley M. Kuhn
cff22b28ae
Move die from cleanup to be below test of directory writable.
...
It's possible this cleanup code is causing serious problems during failures,
because it's leaving us no ics files when the export fails. Probably it
would be better if we move aside the ics files and restore them later.
2014-02-10 08:53:02 -05:00
Bradley M. Kuhn
e8fbe2dea2
Don't die when calendars aren't readable, rather,
...
just tell conky to display why no calendar is there.
2014-01-24 14:53:40 -05:00
Bradley M. Kuhn
c6f6b948f5
Use $LOCK_CLEANUP_CODE in more places; don't DieLog when no lock possible.
2014-01-24 09:34:38 -05:00
Bradley M. Kuhn
4079554096
Don't die badly when config file just isn't there.
...
Instead, give a message in the conky output, which is the better thing to do,
since the config file (at least for me) may be on a partition that hasn't
been mounted.
2014-01-24 07:02:22 -05:00
Bradley M. Kuhn
f1f3d31199
Fix bad paste from -import script.
2013-11-30 14:45:43 -05:00
Bradley M. Kuhn
d42a102bf4
Better test for executable.
2013-11-30 14:20:07 -05:00
Bradley M. Kuhn
6920a57e53
Fix spacing in licensing comments.
2013-11-30 14:07:37 -05:00
Bradley M. Kuhn
1a31551d37
Add proper locking code.
2013-11-30 13:36:52 -05:00
Bradley M. Kuhn
68d950a036
Silently remove.
2013-11-29 17:15:23 -05:00
Bradley M. Kuhn
792465c4d7
Properly extract value.
2013-11-29 16:31:45 -05:00
Bradley M. Kuhn
1f55b78af5
use strict/warnings and fix bug that was obvious once used.
2013-11-29 16:27:00 -05:00
Bradley M. Kuhn
c8e8171253
Make a default for calendarStyle.
2013-11-29 16:26:17 -05:00
Bradley M. Kuhn
b0b0e4f438
$icsFullFile is no longer used here.
2013-11-29 16:26:01 -05:00
Bradley M. Kuhn
753b25be6e
Use paplay from espeak.
2013-11-29 16:25:47 -05:00
Bradley M. Kuhn
e3156d8606
MergeList function from SFLC.
2013-11-29 16:17:28 -05:00
Bradley M. Kuhn
8f9ce9b676
Newlines were appearing on end of all settings!
2013-11-29 16:16:56 -05:00
Bradley M. Kuhn
1f172c36f7
Emacs binary setup.
2013-11-29 16:16:47 -05:00
Bradley M. Kuhn
dc1ec84056
Add SVN code.
2013-11-29 15:58:22 -05:00
Bradley M. Kuhn
cded96d49b
Finish first past at adaptation for new usage.
2013-11-29 15:52:35 -05:00
Bradley M. Kuhn
6f6b97483d
Remove syslog call.
2013-11-29 15:52:12 -05:00
Bradley M. Kuhn
c51c26f280
Add lock cleanup code.
2013-11-29 15:52:07 -05:00
Bradley M. Kuhn
7a03e2220d
Brought over and adapted DoLog code from SFLC.
2013-11-29 13:46:22 -05:00
Bradley M. Kuhn
cae0ecbcce
Bring over BinarySearchForTZEntry from SFLC code.
2013-11-29 13:42:38 -05:00
Bradley M. Kuhn
4269e613e1
First pass at adapting these functions for multi-ics-directory output.
2013-11-29 13:41:52 -05:00
Bradley M. Kuhn
6382f36eba
Bring in PrivacyFilterICalFile from SFLC code.
2013-11-29 13:18:39 -05:00
Bradley M. Kuhn
1ea78e94b0
Began work to do export of Emacs diary files into calypso-suitable ics files.
2013-11-29 13:12:24 -05:00