Add a configuration file upgrade script

This isn't ready for distribution but allows users of the -git version
of calcurse to easily update their configuration files without having to
edit them manually.

Following things are still missing here:

* A command line parameter to specify a custom data directory.
* A backup file that is created automatically before upgrading.
* Debug output.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2012-03-29 11:43:10 +02:00
parent a5eea86a07
commit afa57d77c0
4 changed files with 73 additions and 3 deletions

3
scripts/Makefile.am Normal file
View File

@@ -0,0 +1,3 @@
AUTOMAKE_OPTIONS = foreign
dist_bin_SCRIPTS = calcurse-upgrade