From: Banana Date: Sun, 18 Dec 2022 11:06:25 +0000 (+0100) Subject: update checks X-Git-Tag: v1.4~2 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=3a67402849b3212064495a6dc607d28adb1379e1;p=bibliotheca-php.git update checks --- 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;