Index: openacs-4/packages/file-storage/file-storage.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/file-storage.info,v diff -u -r1.51 -r1.52 --- openacs-4/packages/file-storage/file-storage.info 9 Dec 2008 17:10:29 -0000 1.51 +++ openacs-4/packages/file-storage/file-storage.info 29 Jan 2009 14:31:57 -0000 1.52 @@ -7,7 +7,7 @@ f f - + OpenACS Collaborative document storage 2007-06-15 @@ -16,7 +16,7 @@ 0 #file-storage.file-storage# - + Index: openacs-4/packages/file-storage/sql/oracle/upgrade/upgrade-5.5.0d1-5.5.0d2.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/sql/oracle/upgrade/upgrade-5.5.0d1-5.5.0d2.sql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/file-storage/sql/oracle/upgrade/upgrade-5.5.0d1-5.5.0d2.sql 29 Jan 2009 14:31:57 -0000 1.1 @@ -0,0 +1,7 @@ +-- fix param values (were mixed up in previous upgrade 5.4.0d1-5.4.0d2) + +update apm_parameters set default_value = 'zip' where parameter_name = 'ArchiveExtension' and package_key = 'file-storage'; +update apm_parameter_values set attr_value = 'zip' where parameter_id = (select parameter_id from apm_parameters where parameter_name = 'ArchiveExtension' and package_key = 'file-storage'); + +update apm_parameters set default_value = '/usr/bin/zip -r {out_file} {in_file}' where parameter_name = 'ArchiveCommand' and package_key = 'file-storage'; +update apm_parameter_values set attr_value = '/usr/bin/zip -r {out_file} {in_file}' where parameter_id = (select parameter_id from apm_parameters where parameter_name = 'ArchiveCommand' and package_key = 'file-storage'); Index: openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.5.0d1-5.5.0d2.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.5.0d1-5.5.0d2.sql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.5.0d1-5.5.0d2.sql 29 Jan 2009 14:31:57 -0000 1.1 @@ -0,0 +1,7 @@ +-- fix param values (were mixed up in previous upgrade 5.4.0d1-5.4.0d2) + +update apm_parameters set default_value = 'zip' where parameter_name = 'ArchiveExtension' and package_key = 'file-storage'; +update apm_parameter_values set attr_value = 'zip' where parameter_id = (select parameter_id from apm_parameters where parameter_name = 'ArchiveExtension' and package_key = 'file-storage'); + +update apm_parameters set default_value = '/usr/bin/zip -r {out_file} {in_file}' where parameter_name = 'ArchiveCommand' and package_key = 'file-storage'; +update apm_parameter_values set attr_value = '/usr/bin/zip -r {out_file} {in_file}' where parameter_id = (select parameter_id from apm_parameters where parameter_name = 'ArchiveCommand' and package_key = 'file-storage');