Author: glen                         Date: Wed Jan 10 02:09:34 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- must call twice update-browser-plugins

---- Files affected:
SPECS:
   nspluginwrapper.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/nspluginwrapper.spec
diff -u SPECS/nspluginwrapper.spec:1.16 SPECS/nspluginwrapper.spec:1.17
--- SPECS/nspluginwrapper.spec:1.16     Wed Jan 10 03:04:58 2007
+++ SPECS/nspluginwrapper.spec  Wed Jan 10 03:09:29 2007
@@ -59,8 +59,14 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+# uh.
+# first we call update-browser-plugins to make links to our browser dir
+# then we call nspluginwrapper -v -[ui] to create npwrapper.*.so plugins
+# then we call update-browser-plugins once again to create links to 64bit 
browser plugins dir
+
 %post
 umask 002
+%update_browser_plugins
 if [ "$1" = 1 ]; then
        %{_bindir}/%{name} -v -a -i
 else
@@ -70,7 +76,7 @@
 
 %preun
 if [ "$1" = 0 ]; then
-       umask 002
+       rm -f %{_browserpluginsdir}/npwrapper.*.so
        %{_bindir}/%{name} -v -a -r
        %update_browser_plugins
 fi
@@ -104,6 +110,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2007/01/10 02:09:29  glen
+- must call twice update-browser-plugins
+
 Revision 1.16  2007/01/10 02:04:58  glen
 - use fixed macros
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nspluginwrapper.spec?r1=1.16&r2=1.17&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to