packages: seamonkey/seamonkey.spec, seamonkey-addon-adblockplus/seamonkey-a...

glen glen at pld-linux.org
Thu Mar 25 13:15:36 CET 2010


Author: glen                         Date: Thu Mar 25 12:15:36 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- update chrome+xpcom-generate run so it is run only once on installs and upgrades
  and avoid executing it if the script does not exist (main package is removed
  in same transaction)

---- Files affected:
packages/seamonkey:
   seamonkey.spec (1.99 -> 1.100) 
packages/seamonkey-addon-adblockplus:
   seamonkey-addon-adblockplus.spec (1.6 -> 1.7) 
packages/seamonkey-addon-flashblock:
   seamonkey-addon-flashblock.spec (1.8 -> 1.9) 
packages/seamonkey-addon-flashgot:
   seamonkey-addon-flashgot.spec (1.2 -> 1.3) 
packages/seamonkey-addon-mnenhy:
   seamonkey-addon-mnenhy.spec (1.3 -> 1.4) 
packages/seamonkey-lang-be:
   seamonkey-lang-be.spec (1.11 -> 1.12) 
packages/seamonkey-lang-ca:
   seamonkey-lang-ca.spec (1.16 -> 1.17) 
packages/seamonkey-lang-cs:
   seamonkey-lang-cs.spec (1.24 -> 1.25) 
packages/seamonkey-lang-de:
   seamonkey-lang-de.spec (1.26 -> 1.27) 
packages/seamonkey-lang-en:
   seamonkey-lang-en.spec (1.8 -> 1.9) 
packages/seamonkey-lang-es:
   seamonkey-lang-es.spec (1.21 -> 1.22) 
packages/seamonkey-lang-eu:
   seamonkey-lang-eu.spec (1.8 -> 1.9) 
packages/seamonkey-lang-fr:
   seamonkey-lang-fr.spec (1.19 -> 1.20) 
packages/seamonkey-lang-he:
   seamonkey-lang-he.spec (1.10 -> 1.11) 
packages/seamonkey-lang-it:
   seamonkey-lang-it.spec (1.18 -> 1.19) 
packages/seamonkey-lang-ja:
   seamonkey-lang-ja.spec (1.8 -> 1.9) 
packages/seamonkey-lang-ka:
   seamonkey-lang-ka.spec (1.9 -> 1.10) 
packages/seamonkey-lang-lt:
   seamonkey-lang-lt.spec (1.1 -> 1.2) 
packages/seamonkey-lang-nb:
   seamonkey-lang-nb.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/seamonkey/seamonkey.spec
diff -u packages/seamonkey/seamonkey.spec:1.99 packages/seamonkey/seamonkey.spec:1.100
--- packages/seamonkey/seamonkey.spec:1.99	Sat Feb  6 22:13:30 2010
+++ packages/seamonkey/seamonkey.spec	Thu Mar 25 13:15:31 2010
@@ -390,11 +390,13 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/%{name}-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 %update_browser_plugins
 
 %postun
-%{_sbindir}/%{name}-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 if [ "$1" = 0 ]; then
 	%update_browser_plugins
 fi
@@ -770,6 +772,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.100  2010/03/25 12:15:31  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.99  2010/02/06 21:13:30  arekm
 - release 3
 

================================================================
Index: packages/seamonkey-addon-adblockplus/seamonkey-addon-adblockplus.spec
diff -u packages/seamonkey-addon-adblockplus/seamonkey-addon-adblockplus.spec:1.6 packages/seamonkey-addon-adblockplus/seamonkey-addon-adblockplus.spec:1.7
--- packages/seamonkey-addon-adblockplus/seamonkey-addon-adblockplus.spec:1.6	Tue Feb 19 23:11:24 2008
+++ packages/seamonkey-addon-adblockplus/seamonkey-addon-adblockplus.spec	Thu Mar 25 13:15:31 2010
@@ -65,10 +65,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -83,6 +85,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/03/25 12:15:31  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.6  2008/02/19 22:11:24  hawk
 - no longer noarch, we use _libdir
 - release 2

================================================================
Index: packages/seamonkey-addon-flashblock/seamonkey-addon-flashblock.spec
diff -u packages/seamonkey-addon-flashblock/seamonkey-addon-flashblock.spec:1.8 packages/seamonkey-addon-flashblock/seamonkey-addon-flashblock.spec:1.9
--- packages/seamonkey-addon-flashblock/seamonkey-addon-flashblock.spec:1.8	Fri Mar 13 12:50:10 2009
+++ packages/seamonkey-addon-flashblock/seamonkey-addon-flashblock.spec	Thu Mar 25 13:15:31 2010
@@ -54,10 +54,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -71,6 +73,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2010/03/25 12:15:31  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.8  2009/03/13 11:50:10  duddits
 - up to 1.5.8
 - license

================================================================
Index: packages/seamonkey-addon-flashgot/seamonkey-addon-flashgot.spec
diff -u packages/seamonkey-addon-flashgot/seamonkey-addon-flashgot.spec:1.2 packages/seamonkey-addon-flashgot/seamonkey-addon-flashgot.spec:1.3
--- packages/seamonkey-addon-flashgot/seamonkey-addon-flashgot.spec:1.2	Fri Mar  9 23:05:39 2007
+++ packages/seamonkey-addon-flashgot/seamonkey-addon-flashgot.spec	Thu Mar 25 13:15:32 2010
@@ -65,10 +65,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -83,6 +85,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/03/25 12:15:32  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.2  2007/03/09 22:05:39  qboosh
 - pl
 

================================================================
Index: packages/seamonkey-addon-mnenhy/seamonkey-addon-mnenhy.spec
diff -u packages/seamonkey-addon-mnenhy/seamonkey-addon-mnenhy.spec:1.3 packages/seamonkey-addon-mnenhy/seamonkey-addon-mnenhy.spec:1.4
--- packages/seamonkey-addon-mnenhy/seamonkey-addon-mnenhy.spec:1.3	Fri Mar 13 12:47:28 2009
+++ packages/seamonkey-addon-mnenhy/seamonkey-addon-mnenhy.spec	Thu Mar 25 13:15:32 2010
@@ -54,10 +54,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -71,6 +73,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/03/25 12:15:32  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.3  2009/03/13 11:47:28  duddits
 - up to 0.7.6
 

================================================================
Index: packages/seamonkey-lang-be/seamonkey-lang-be.spec
diff -u packages/seamonkey-lang-be/seamonkey-lang-be.spec:1.11 packages/seamonkey-lang-be/seamonkey-lang-be.spec:1.12
--- packages/seamonkey-lang-be/seamonkey-lang-be.spec:1.11	Sun Jun  1 16:35:14 2008
+++ packages/seamonkey-lang-be/seamonkey-lang-be.spec	Thu Mar 25 13:15:32 2010
@@ -45,10 +45,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -63,6 +65,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2010/03/25 12:15:32  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.11  2008/06/01 14:35:14  megabajt
 - changed Group to I18n
 

================================================================
Index: packages/seamonkey-lang-ca/seamonkey-lang-ca.spec
diff -u packages/seamonkey-lang-ca/seamonkey-lang-ca.spec:1.16 packages/seamonkey-lang-ca/seamonkey-lang-ca.spec:1.17
--- packages/seamonkey-lang-ca/seamonkey-lang-ca.spec:1.16	Tue Mar 24 21:51:11 2009
+++ packages/seamonkey-lang-ca/seamonkey-lang-ca.spec	Thu Mar 25 13:15:33 2010
@@ -60,10 +60,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -81,6 +83,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2010/03/25 12:15:33  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.16  2009/03/24 20:51:11  duddits
 - up to 1.1.15
 

================================================================
Index: packages/seamonkey-lang-cs/seamonkey-lang-cs.spec
diff -u packages/seamonkey-lang-cs/seamonkey-lang-cs.spec:1.24 packages/seamonkey-lang-cs/seamonkey-lang-cs.spec:1.25
--- packages/seamonkey-lang-cs/seamonkey-lang-cs.spec:1.24	Tue Mar 24 21:51:33 2009
+++ packages/seamonkey-lang-cs/seamonkey-lang-cs.spec	Thu Mar 25 13:15:33 2010
@@ -52,10 +52,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -71,6 +73,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2010/03/25 12:15:33  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.24  2009/03/24 20:51:33  duddits
 - up to 1.1.15
 

================================================================
Index: packages/seamonkey-lang-de/seamonkey-lang-de.spec
diff -u packages/seamonkey-lang-de/seamonkey-lang-de.spec:1.26 packages/seamonkey-lang-de/seamonkey-lang-de.spec:1.27
--- packages/seamonkey-lang-de/seamonkey-lang-de.spec:1.26	Tue Mar 24 21:51:53 2009
+++ packages/seamonkey-lang-de/seamonkey-lang-de.spec	Thu Mar 25 13:15:33 2010
@@ -50,10 +50,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -73,6 +75,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2010/03/25 12:15:33  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.26  2009/03/24 20:51:53  duddits
 - up to 1.1.15
 

================================================================
Index: packages/seamonkey-lang-en/seamonkey-lang-en.spec
diff -u packages/seamonkey-lang-en/seamonkey-lang-en.spec:1.8 packages/seamonkey-lang-en/seamonkey-lang-en.spec:1.9
--- packages/seamonkey-lang-en/seamonkey-lang-en.spec:1.8	Sun Jun  1 16:35:14 2008
+++ packages/seamonkey-lang-en/seamonkey-lang-en.spec	Thu Mar 25 13:15:33 2010
@@ -45,10 +45,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -62,6 +64,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2010/03/25 12:15:33  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.8  2008/06/01 14:35:14  megabajt
 - changed Group to I18n
 

================================================================
Index: packages/seamonkey-lang-es/seamonkey-lang-es.spec
diff -u packages/seamonkey-lang-es/seamonkey-lang-es.spec:1.21 packages/seamonkey-lang-es/seamonkey-lang-es.spec:1.22
--- packages/seamonkey-lang-es/seamonkey-lang-es.spec:1.21	Sat Dec 27 17:51:09 2008
+++ packages/seamonkey-lang-es/seamonkey-lang-es.spec	Thu Mar 25 13:15:34 2010
@@ -59,10 +59,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -77,6 +79,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2010/03/25 12:15:34  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.21  2008/12/27 16:51:09  qboosh
 - updated to 1.1.14
 

================================================================
Index: packages/seamonkey-lang-eu/seamonkey-lang-eu.spec
diff -u packages/seamonkey-lang-eu/seamonkey-lang-eu.spec:1.8 packages/seamonkey-lang-eu/seamonkey-lang-eu.spec:1.9
--- packages/seamonkey-lang-eu/seamonkey-lang-eu.spec:1.8	Sun Jun  1 16:35:14 2008
+++ packages/seamonkey-lang-eu/seamonkey-lang-eu.spec	Thu Mar 25 13:15:34 2010
@@ -47,10 +47,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -68,6 +70,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2010/03/25 12:15:34  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.8  2008/06/01 14:35:14  megabajt
 - changed Group to I18n
 

================================================================
Index: packages/seamonkey-lang-fr/seamonkey-lang-fr.spec
diff -u packages/seamonkey-lang-fr/seamonkey-lang-fr.spec:1.19 packages/seamonkey-lang-fr/seamonkey-lang-fr.spec:1.20
--- packages/seamonkey-lang-fr/seamonkey-lang-fr.spec:1.19	Tue Mar 24 21:52:37 2009
+++ packages/seamonkey-lang-fr/seamonkey-lang-fr.spec	Thu Mar 25 13:15:34 2010
@@ -52,10 +52,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -76,6 +78,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2010/03/25 12:15:34  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.19  2009/03/24 20:52:37  duddits
 - up to 1.1.15
 

================================================================
Index: packages/seamonkey-lang-he/seamonkey-lang-he.spec
diff -u packages/seamonkey-lang-he/seamonkey-lang-he.spec:1.10 packages/seamonkey-lang-he/seamonkey-lang-he.spec:1.11
--- packages/seamonkey-lang-he/seamonkey-lang-he.spec:1.10	Sun Jun  1 16:35:14 2008
+++ packages/seamonkey-lang-he/seamonkey-lang-he.spec	Thu Mar 25 13:15:34 2010
@@ -47,10 +47,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -68,6 +70,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2010/03/25 12:15:34  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.10  2008/06/01 14:35:14  megabajt
 - changed Group to I18n
 

================================================================
Index: packages/seamonkey-lang-it/seamonkey-lang-it.spec
diff -u packages/seamonkey-lang-it/seamonkey-lang-it.spec:1.18 packages/seamonkey-lang-it/seamonkey-lang-it.spec:1.19
--- packages/seamonkey-lang-it/seamonkey-lang-it.spec:1.18	Tue Mar 24 21:53:00 2009
+++ packages/seamonkey-lang-it/seamonkey-lang-it.spec	Thu Mar 25 13:15:35 2010
@@ -49,10 +49,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -71,6 +73,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2010/03/25 12:15:35  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.18  2009/03/24 20:53:00  duddits
 - up to 1.1.15
 

================================================================
Index: packages/seamonkey-lang-ja/seamonkey-lang-ja.spec
diff -u packages/seamonkey-lang-ja/seamonkey-lang-ja.spec:1.8 packages/seamonkey-lang-ja/seamonkey-lang-ja.spec:1.9
--- packages/seamonkey-lang-ja/seamonkey-lang-ja.spec:1.8	Sat Dec 27 17:51:09 2008
+++ packages/seamonkey-lang-ja/seamonkey-lang-ja.spec	Thu Mar 25 13:15:35 2010
@@ -48,10 +48,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -67,6 +69,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2010/03/25 12:15:35  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.8  2008/12/27 16:51:09  qboosh
 - updated to 1.1.14
 

================================================================
Index: packages/seamonkey-lang-ka/seamonkey-lang-ka.spec
diff -u packages/seamonkey-lang-ka/seamonkey-lang-ka.spec:1.9 packages/seamonkey-lang-ka/seamonkey-lang-ka.spec:1.10
--- packages/seamonkey-lang-ka/seamonkey-lang-ka.spec:1.9	Sun Jun  1 16:35:14 2008
+++ packages/seamonkey-lang-ka/seamonkey-lang-ka.spec	Thu Mar 25 13:15:35 2010
@@ -46,10 +46,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -66,6 +68,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2010/03/25 12:15:35  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.9  2008/06/01 14:35:14  megabajt
 - changed Group to I18n
 

================================================================
Index: packages/seamonkey-lang-lt/seamonkey-lang-lt.spec
diff -u packages/seamonkey-lang-lt/seamonkey-lang-lt.spec:1.1 packages/seamonkey-lang-lt/seamonkey-lang-lt.spec:1.2
--- packages/seamonkey-lang-lt/seamonkey-lang-lt.spec:1.1	Tue Oct 21 18:29:33 2008
+++ packages/seamonkey-lang-lt/seamonkey-lang-lt.spec	Thu Mar 25 13:15:36 2010
@@ -45,10 +45,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -63,5 +65,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/03/25 12:15:36  glen
+- update chrome+xpcom-generate run so it is run only once on installs and upgrades
+  and avoid executing it if the script does not exist (main package is removed
+  in same transaction)
+
 Revision 1.1  2008/10/21 16:29:33  qboosh
 - new

================================================================
Index: packages/seamonkey-lang-nb/seamonkey-lang-nb.spec
diff -u packages/seamonkey-lang-nb/seamonkey-lang-nb.spec:1.8 packages/seamonkey-lang-nb/seamonkey-lang-nb.spec:1.9
--- packages/seamonkey-lang-nb/seamonkey-lang-nb.spec:1.8	Sun Jun  1 16:35:14 2008
+++ packages/seamonkey-lang-nb/seamonkey-lang-nb.spec	Thu Mar 25 13:15:36 2010
@@ -52,10 +52,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/seamonkey-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/seamonkey-chrome+xpcom-generate
+[ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -73,6 +75,11 @@
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey/seamonkey.spec?r1=1.99&r2=1.100&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-addon-adblockplus/seamonkey-addon-adblockplus.spec?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-addon-flashblock/seamonkey-addon-flashblock.spec?r1=1.8&r2=1.9&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-addon-flashgot/seamonkey-addon-flashgot.spec?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-addon-mnenhy/seamonkey-addon-mnenhy.spec?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-be/seamonkey-lang-be.spec?r1=1.11&r2=1.12&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-ca/seamonkey-lang-ca.spec?r1=1.16&r2=1.17&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-cs/seamonkey-lang-cs.spec?r1=1.24&r2=1.25&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-de/seamonkey-lang-de.spec?r1=1.26&r2=1.27&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-en/seamonkey-lang-en.spec?r1=1.8&r2=1.9&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-es/seamonkey-lang-es.spec?r1=1.21&r2=1.22&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-eu/seamonkey-lang-eu.spec?r1=1.8&r2=1.9&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-fr/seamonkey-lang-fr.spec?r1=1.19&r2=1.20&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-he/seamonkey-lang-he.spec?r1=1.10&r2=1.11&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-it/seamonkey-lang-it.spec?r1=1.18&r2=1.19&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-ja/seamonkey-lang-ja.spec?r1=1.8&r2=1.9&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-ka/seamonkey-lang-ka.spec?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-lt/seamonkey-lang-lt.spec?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/seamonkey-lang-nb/seamonkey-lang-nb.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list