]> git.koha-community.org Git - koha.git/commit
installer: added 'make upgrade' target
authorGalen Charlton <galen.charlton@liblime.com>
Fri, 15 Feb 2008 08:04:35 +0000 (21:04 +1300)
committerJoshua Ferraro <jmf@liblime.com>
Fri, 15 Feb 2008 14:30:53 +0000 (08:30 -0600)
commit25e1b9e49cd9b4d29847f9fdb70e2299daa65680
tree4d59466302858a5eb974cb596cbd8b40f872c923
parent20f1c41ca7655198c59cc6f6640c714afead1393
installer: added 'make upgrade' target

INTRANET_TMPL_DIR
INTRANET_WWW_DIR
OPAC_TMPL_DIR
OPAC_WWW_DIR
KOHA_CONF_DIR
OPAC_TMPL_DIR
OPAC_WWW_DIR
PAZPAR2_CONF_DIR
ZEBRA_CONF_DIR

For each directory on the list, if an existing file
installed file is different from the version
coming from the new package, it is copied to a backup file
whose name will have the suffix "_koha_<old_version_number>"
or "_upgrade_backup", depending on whether
the --prev-install-log option was used or not
during 'perl Makefile.PL'.

The directories whose files were backed up were
chosen because they contain configuration and
HTML files that a non-programmer Koha user
is likely to change.  Consequently, the backup
files produced by 'make upgrade' are not a substitute
for doing a complete backup of one's Koha
installation before upgrading.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Makefile.PL
install_misc/UpgradeBackup.pm [new file with mode: 0644]
misc/koha-install-log