Index: openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.4.0d1-5.4.0d2.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.4.0d1-5.4.0d2.sql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.4.0d1-5.4.0d2.sql	10 Dec 2007 08:36:59 -0000	1.2
+++ openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.4.0d1-5.4.0d2.sql	10 Dec 2007 09:53:42 -0000	1.3
@@ -1,4 +1,4 @@
-update apm_parameters set default_value = 'zip' where parameter_name = 'ArchiveExtension';
-update apm_parameters set default_value = '/usr/bin/zip -r {out_file} {in_file}' where parameter_name = 'ArchiveCommand';
+update apm_parameters set default_value = 'zip' 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 = '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 = 'ArchiveCommand' and package_key = 'file-storage');
\ No newline at end of file
