From 3a67402849b3212064495a6dc607d28adb1379e1 Mon Sep 17 00:00:00 2001 From: Banana Date: Sun, 18 Dec 2022 12:06:25 +0100 Subject: [PATCH] update checks --- sources/updatecheck.txt | 8 ++++++++ upgrade/from-version-1.3.tx | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sources/updatecheck.txt b/sources/updatecheck.txt index ee3e62a..c6442ad 100644 --- a/sources/updatecheck.txt +++ b/sources/updatecheck.txt @@ -12,3 +12,11 @@ upgrade file with correct placeholders correct placeholders in sql file for manual setup correct version info in VERSION and index.php + + +$ git checkout-index -a -f --prefix=/absolute/path/to/new/dir/ +# remove some unwanted files if needed from the export +$ cd /absolute/path/to/new/ +$ tar -cvJf archive.xz /absolute/path/to/new/dir/ +$ md5sum archive.xz > archive.xz.md5sum +$ sha1sum archive.xz > archive.xz.sha1sum diff --git a/upgrade/from-version-1.3.tx b/upgrade/from-version-1.3.tx index a4de8f3..634e2af 100644 --- a/upgrade/from-version-1.3.tx +++ b/upgrade/from-version-1.3.tx @@ -2,5 +2,5 @@ # Replace #REPLACEME# with your table prefix. Default is bib ALTER TABLE `#REPLACEME#_collection` ADD `defaultSortOrder` VARCHAR(4) NOT NULL AFTER `defaultSortField`; ALTER TABLE `#REPLACEME#_menu` ADD `contextaction` VARCHAR(64) NOT NULL AFTER `action`; -UPDATE `#REPLACEME#_menu` SET `contextaction` = 'collection' WHERE `bib_menu`.`id` = 4; -UPDATE `#REPLACEME#_menu` SET `contextaction` = 'collection' WHERE `bib_menu`.`id` = 6; +UPDATE `#REPLACEME#_menu` SET `contextaction` = 'collection' WHERE `#REPLACEME#_menu`.`id` = 4; +UPDATE `#REPLACEME#_menu` SET `contextaction` = 'collection' WHERE `#REPLACEME#_menu`.`id` = 6; -- 2.39.5