packages: iceape-theme-GrayModern/iceape-theme-GrayModern.spec, iceape-them...

glen glen at pld-linux.org
Thu Mar 25 13:08:38 CET 2010


Author: glen                         Date: Thu Mar 25 12:08:38 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/iceape-theme-GrayModern:
   iceape-theme-GrayModern.spec (1.3 -> 1.4) 
packages/iceape-theme-pinball:
   iceape-theme-pinball.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/iceape-theme-GrayModern/iceape-theme-GrayModern.spec
diff -u packages/iceape-theme-GrayModern/iceape-theme-GrayModern.spec:1.3 packages/iceape-theme-GrayModern/iceape-theme-GrayModern.spec:1.4
--- packages/iceape-theme-GrayModern/iceape-theme-GrayModern.spec:1.3	Sat Nov 28 20:10:10 2009
+++ packages/iceape-theme-GrayModern/iceape-theme-GrayModern.spec	Thu Mar 25 13:08:33 2010
@@ -48,10 +48,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/iceape-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/iceape-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/iceape-chrome+xpcom-generate
+[ ! -x %{_sbindir}/iceape-chrome+xpcom-generate ] || %{_sbindir}/iceape-chrome+xpcom-generate
 
 %files
 %defattr(644,root,root,755)
@@ -64,6 +66,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/03/25 12:08: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.3  2009/11/28 19:10:10  sparky
 - BR: perl-base, unzip
 
@@ -72,4 +79,3 @@
 
 Revision 1.1  2008/06/26 13:43:18  hawk
 - theme for Iceape
-

================================================================
Index: packages/iceape-theme-pinball/iceape-theme-pinball.spec
diff -u packages/iceape-theme-pinball/iceape-theme-pinball.spec:1.3 packages/iceape-theme-pinball/iceape-theme-pinball.spec:1.4
--- packages/iceape-theme-pinball/iceape-theme-pinball.spec:1.3	Sat Nov 28 20:10:10 2009
+++ packages/iceape-theme-pinball/iceape-theme-pinball.spec	Thu Mar 25 13:08:33 2010
@@ -51,10 +51,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_sbindir}/iceape-chrome+xpcom-generate
+if [ "$1" = 1 ]; then
+	%{_sbindir}/iceape-chrome+xpcom-generate
+fi
 
 %postun
-%{_sbindir}/iceape-chrome+xpcom-generate
+[ ! -x %{_sbindir}/iceape-chrome+xpcom-generate ] || %{_sbindir}/iceape-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.4  2010/03/25 12:08: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.3  2009/11/28 19:10:10  sparky
 - BR: perl-base, unzip
 
@@ -75,4 +82,3 @@
 
 Revision 1.1  2008/06/26 13:43:18  hawk
 - theme for Iceape
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/iceape-theme-GrayModern/iceape-theme-GrayModern.spec?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/iceape-theme-pinball/iceape-theme-pinball.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list