SPECS: nspluginwrapper.spec - reset umask for nspluginwrapper prog

glen glen at pld-linux.org
Wed Jan 10 02:07:53 CET 2007


Author: glen                         Date: Wed Jan 10 01:07:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- reset umask for nspluginwrapper prog

---- Files affected:
SPECS:
   nspluginwrapper.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/nspluginwrapper.spec
diff -u SPECS/nspluginwrapper.spec:1.11 SPECS/nspluginwrapper.spec:1.12
--- SPECS/nspluginwrapper.spec:1.11	Wed Jan 10 01:39:16 2007
+++ SPECS/nspluginwrapper.spec	Wed Jan 10 02:07:47 2007
@@ -5,7 +5,7 @@
 Summary(pl):	Wtyczka Open Source dla kompatybilności z wtyczkami Netscape'a 4 (NPAPI)
 Name:		nspluginwrapper
 Version:	0.9.91.2
-Release:	0.5
+Release:	0.7
 License:	GPL v2
 Group:		Applications/Multimedia
 Source0:	http://gwenole.beauchesne.info/projects/nspluginwrapper/files/%{name}-%{version}.tar.bz2
@@ -56,17 +56,19 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%update_browser_plugins
+umask 002
 if [ "$1" = 1 ]; then
 	%{_bindir}/%{name} -v -a -i
 else
 	%{_bindir}/%{name} -v -a -u
 fi
+%update_browser_plugins
 
 %preun
 if [ "$1" = 0 ]; then
-	%update_browser_plugins
+	umask 002
 	%{_bindir}/%{name} -v -a -r
+	%update_browser_plugins
 fi
 
 %files
@@ -94,6 +96,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2007/01/10 01:07:47  glen
+- reset umask for nspluginwrapper prog
+
 Revision 1.11  2007/01/10 00:39:16  glen
 - patch plugin dirs
 
================================================================

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



More information about the pld-cvs-commit mailing list